C4 Engine
C4 Engine API Documentation

Animator::GetTargetModel

Defined in:  C4Animation.h
Returns the model to which an animator applies.
Prototype

Model *GetTargetModel(voidconst;

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

Animator::GetTargetNode

Animator::SetTargetNode