Meta_Assembly

An Assembly is the main node type in the scenegraph, used to build the transform hierarchy of the scene.

Public Types


Values for Idx_Constraint.

CONSTRAINT_NONE

do not constrain the transform at all (Symbols - C: "ConstraintNone", Lua: __Assembly_ConstraintNone)

CONSTRAINT_LOCK

do not allow the transform to be changed (Symbols - C: "ConstraintLock", Lua: __Assembly_ConstraintLock)

CONSTRAINT_PARENT

defer a change to the transform to its parent (Symbols - C: "ConstraintParent", Lua: __Assembly_ConstraintParent)

CONSTRAINT_LIMIT

constrain the transform parameters to the values in a child Meta_TransformLimits node (Symbols - C: "ConstraintLimit", Lua: __Assembly_ConstraintLimit)

CONSTRAINT_IK

Reserved for future use.

CONSTRAINT_LOOKAT

keep the node facing towards another node (Symbols - C: "ConstraintLookAt", Lua: __Assembly_ConstraintLookAt)


enum IDX

Property index.

Idx_Enabled

bool - If true, assembly is active and children should be traversed. Otherwise stop traversal here.

Idx_Transform

mat4w - The local transformation matrix of this assembly.

Idx_Constraint

CONSTRAINT_TYPE (int) - Type of constraint to be enforced on this assemblies transform.

Idx_ShadowCaster

Deprecated legacy property that will be removed in a future version. ShadowCasting should only be controlled by Meta_Visual nodes.

Idx_CollisionLayer

LAYERS (int) - A signed integer representing the collision layer of this assembly. Higher values take priority over lower values. i.e. if multiple ray intersections are returned from the collision system, then the one associated with an assembly with the highest layer value will be used. INVALID_LAYER can be used to disable ray cast collisions.

Idx_SnapEnabled

bool - If true, restore snap mode will be enabled on this assembly (regardless of global value).

Idx_IgnoreCoverageLOD

bool -If true, coverage LOD for this assembly and all its descendants is disabled.

Idx_IgnoreProbes

bool - If true, the assembly and all its decendents will be ignored by any probes.


enum LAYERS

Values for Idx_CollisionLayer.

LAYER_INVALID

do not perform hit test (Symbols - C: "LayerInvalid", Lua: __Assembly_LayerInvalid)

LAYER_DEFAULT

default hit test layer (evaluates to rex::OpaqueLayer in scene event node) (Symbols - C: "LayerDefault", Lua: __Assembly_LayerDefault)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API