Animator::PreprocessAnimator
Defined in:
Called to allow an animator to perform any necessary preprocessing.
C4Animation.h
Prototype
virtual void PreprocessAnimator(void);
Description
The PreprocessAnimator
function is called to allow an animator to perform any necessary preprocessing before it is used to animate a model. If a custom animator subclasses overrides this function, then it must always call the base class counterpart before performing any other actions. The base class implementation calls the PreprocessAnimator
function for all of its subanimators before returning.The
PreprocessAnimator
function is called for the root animator in an animator tree when the Model::SetRootAnimator
function is called to attached the animator tree to a model.
See Also