visionforge/docs/hierarchy.md

1.5 KiB

Hierarchy

Vision

  • function getProperty(name: Name, inherit: Boolean = false, includeStyles: Boolean = true, includeDefaults: Boolean = true) - get property value with given layer flags.

  • function setProperty(name: Name, item: Any?) - a convenient method to set property node or value. If item is null, then node is removed, not a value Sets the item property to the element with the name identification.

VisionBase

Basic vision implementation

VisionGroup

A group of Visions.

MutableVisionGroup

Mutable version of VisionGroup.

low structure changes of this group. Unconsumed changes are discarded.

Solid

Interface for 3-dimensional Vision.

SolidGroup

3D Visual Group with a container for templates visible inside this group. It has an interface PrototypeHolder which stands for being a container with prototype support.

  • function getPrototype(name: Name) - get a prototype redirecting the request to the parent if prototype is not found. If prototype is a ref, then it is unfolded automatically.

  • function prototypes(builder: VisionContainerBuilder<Solid>.() -> Unit) - create or edit prototype node as a group.

SolidReferenceGroup

A class with SolidReference interface with reference Solids for template objects reuse.

VisionGroupBase

Abstract implementation of mutable group of Vision.

RootVisionGroup

Non-serializable root group used to propagate manager to its children.

MutableVisionGroup

Just a mutable version of VisionGroup