The following is a simple procedure for playing back an animation.
For details, see AnimationDemo.
Model::GetVisibilityAnimGroup (Example)The functions used differ depending on the animation target and type.
Use TransformAnimEvaluator::Builder for skeletal animations.
Model::SetVisibilityAnimObject (Example)The functions used differ depending on the animation target and type.
SkeletalModel::SetSkeletalAnimObjectModel::SetVisibilityAnimObjectModel::SetMaterialAnimObjectLight::SetAnimObjectCamera::SetAnimObjectPass the just-created AnimEvaluator object in the AnimObject argument.
Pass other derived classes for any subsequent blending or other such processing.
This section describes how to play another animation for a target for which an animation is already playing.
Switching animations is faster than re-creating an instance for evaluation.
This section describes how to control the playback frame of an animation from your program.
This section describes how to restore status immediately after loading a model or other object.
You must have a material buffer ready to perform this operation on a material.
For details, see BaseAnimEvaluator::Reset.
Follow these steps to remove an animation from a model.
AnimObject::Release function to remove an animation group from an animation evaluation.NULL to the SetAnimObject or Set***AnimObject functions as described in Animation Playback to delete an animation.Note that all steps are required here.
This section describes how to blend two or more animations with the same target.
The AnimationBlendDemo blends a walking animation and running animation.
For details, see AnimationBlendDemo.
AnimEvaluator.
For details on creating an instance of AnimEvaluator, see Animation Playback.
AnimInterpolator with the required size and register the AnimEvaluator objects.
In this example, the AnimObject to be registered is an AnimEvaluator object.
You can also blend an AnimBlender object using another AnimBlender.
You can also overwrite animations. For details, see Partial Animation.
CONFIDENTIAL