C4 Engine
C4 Engine API Documentation

Animator::PreprocessAnimator

Defined in:  C4Animation.h
Called to allow an animator to perform any necessary preprocessing.
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

Animator::ConfigureAnimator

Animator::MoveAnimator

Model::SetRootAnimator