C4 Engine
C4 Engine API Documentation

Bone::GetSkeletonRoot

Defined in:  C4Models.h
Returns the root node of the model to which a bone belongs.
Prototype

Node *GetSkeletonRoot(voidconst;

Description
The GetSkeletonRoot function returns a pointer to the model node to which a bone belongs. The return value is only valid after the bone has been preprocessed. If there is no model node above the bone in the transform hierarchy, then the return value is nullptr.
See Also

Bone::GetModelTransform