C4 Engine
C4 Engine API Documentation

Animator::GetTargetNode

Defined in:  C4Animation.h
Returns the root of the subtree within the model that is affected by an animator.
Prototype

Node *GetTargetNode(voidconst;

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

Animator::SetTargetNode

Animator::GetTargetModel