Animator::GetTargetModel
Defined in:
Returns the model to which an animator applies.
C4Animation.h
Prototype
Model *GetTargetModel(void) const;
Description
The GetTargetModel
function returns the model node to which an animator is attached as part of the model's animator tree. The target model is established when the animator is constructed, and it cannot be changed.It is possible that the animator only affects a part of the whole model, and in that case, the
Animator::GetTargetNode
function can be called to retrieve the root node of the affected subtree within the model.
See Also