Bone::GetSkeletonRoot
Defined in:
Returns the root node of the model to which a bone belongs.
C4Models.hPrototype
Node *GetSkeletonRoot(void) const;
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
