|
World Manager
C4Animation.h
class Animator
The Animator class is the base class for all model animation classes.
Definition
class Animator : public UpdatableTree<Animator>, public Packable, public Constructable<Animator>
Member Functions
Constructor
Animator(AnimatorType type, Model *model, Node *node = nullptr);
Parameters
type |
The animator type.
|
model |
The model to which the animator applies.
|
node |
The root of the subtree within the model that is affected by the animator. If this is nullptr, then the root is the same as the model parameter.
|
Description
Base Classes
UpdatableTree<Animator> |
Used internally by the World Manager.
|
Packable |
Animators can be packed for storage in resources.
|
Constructable<Animator> |
New animator subclasses may be defined by an application, and a constructor function can be installed using the Constructable class.
|
See Also
MergeAnimator
BlendAnimator
FrameAnimator
|