Animator::GetTargetNode
Defined in:
Returns the root of the subtree within the model that is affected by an animator.
C4Animation.h
Prototype
Node *GetTargetNode(void) const;
Description
The GetTargetNode
function returns the root node of the subtree within the model that is affected by an animator. This node is often the same as the model node itself, meaning that the animator applies to the entire model, but it can be another node inside the model's node hierarchy in the case that the animator applies only to some part of the whole model. The target node is established when the animator is constructed, and it can later be changed by calling the Animator::SetTargetNode
function.
See Also