GCubeSDK
©2026 FenixFox®Studios

PropertyBinding

Holds a reference to a property in the scene graph.
This class provides binds values from KeyframeTrack to properties from Object3D. supporting complex property paths and Scene graph traversal. Used internally by the AnimationMixer.

Methods

void getValue(vector<f32>& targetArray, u32 offset)

Gets the current value of the bound property

targetArray Array to store the value
offset Offset in the array

void setValue(const vector<f32>& sourceArray, u32 offset)

Sets the value of the bound property

sourceArray Array containing the value
offset Offset in the array

void bind()

Create getter/setter pair for a property in the scene graph

void unbind()

Unbind getter/setter pair for a property in the scene graph

static PropertyBinding* create(Object3D* root, const string& path, const vector<string>& parsedPath = vector<string>())

Create a new PropertyBinding or Composite PropertyBinding

root Root object
path Property path
parsedPath Parsed path segments

static vector<string> parseTrackName(const string& trackName)

Parse track name into path segments

trackName Track name to parse

static Object3D* findNode(Object3D* root, const string& nodeName)

Find a node in a node tree or Skeleton

root Root object to search from
nodeName Name of node to find

Properties

node Object3D* Target node
parsedPath vector Parsed path segments
path string Property path
rootNode Object3D* Root node