Meta_TransformLink

A TransformLink synchronises the transform of the source node onto the target node (and optionally the other way)

This is usually used to connect assemblies from the scene to some part of the view or avatar.

Public Types


enum Idx

Property index.

Idx_Enabled

bool - When enabled, the link is active

Idx_Source

link - The source node, whose transform will be applied to the target

Idx_Target

link - The target node, which receives the transform

Idx_OverrideMode

OverrideMode (int) - Which parts of the transform are overridden

Idx_PositionOverride

vec3w - The position value to apply instead of the source position

Idx_RotationOverride

vec3w - The rotation value to apply instead of the source rotation

Idx_ScaleOverride

vec3w - The scale value to apply instead of the source scale

Idx_TwoWay

bool - Whether the link goes both ways (movement of Target affects Source)

Idx_UpdateOrder

int - Determines the order in which all TransformLinks are updated. A lower number means this transform link is applied before any with higher numbers.

Idx_LocalTransforms

bool - Whether the transform link applies its transforms to the world position or its local position


Values for Idx_OverrideMode.

Override_None

Don't override any part of the transform (Symbols - C: "OverrideNone", Lua: __TransformLink_OverrideNone)

Override_P

Override the position (Symbols - C: "OverridePosition", Lua: __TransformLink_OverridePosition)

Override_R

Override the rotation (Symbols - C: "OverrideRotation", Lua: __TransformLink_OverrideRotation)

Override_PR

Override the position and rotation (Symbols - C: "OverridePositionRotation", Lua: __TransformLink_OverridePositionRotation)

Override_S

Override the scale (Symbols - C: "OverrideScale", Lua: __TransformLink_OverrideScale)

Override_PS

Override the position and scale (Symbols - C: "OverridePositionScale", Lua: __TransformLink_OverridePositionScale)

Override_RS

Override the rotation and scale (Symbols - C: "OverrideRotationScale", Lua: __TransformLink_OverrideRotationScale)

Override_PRS

Override the position, rotation, and scale (Symbols - C: "OverridePositionRotationScale", Lua: __TransformLink_OverridePositionRotationScale)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API