ID3DXAnimationController

This interface is used to control animation functionality, connecting animation sets with the transformation frames that are being animated. The interface has methods to mix multiple animations and to modify blending parameters over time to enable smooth transitions and other effects.

ID3DXAnimationController Members

Method Description
ID3DXAnimationController::AdvanceTime Animates the mesh and advances the global animation time by a specified amount.
ID3DXAnimationController::CloneAnimationController Clones, or copies, an animation controller.
ID3DXAnimationController::GetAnimationSet Gets an animation set.
ID3DXAnimationController::GetAnimationSetByName Gets an animation set, given its name.
ID3DXAnimationController::GetCurrentPriorityBlend Returns an event handle to a priority blend event that is currently running.
ID3DXAnimationController::GetCurrentTrackEvent Returns an event handle to the event currently running on the specified animation track.
ID3DXAnimationController::GetEventDesc Gets a description of a specified animation event.
ID3DXAnimationController::GetMaxNumAnimationOutputs Get the maximum number of animation outputs the animation controller can support.
ID3DXAnimationController::GetMaxNumAnimationSets Gets the maximum number of animation sets the animation controller can support.
ID3DXAnimationController::GetMaxNumEvents Gets the maximum number of events the animation controller can support.
ID3DXAnimationController::GetMaxNumTracks Gets the maximum number of tracks in the animation controller.
ID3DXAnimationController::GetNumAnimationSets Returns the number of animation sets currently registered in the animation controller.
ID3DXAnimationController::GetPriorityBlend Gets the current priority blending weight used by the animation controller.
ID3DXAnimationController::GetTime Gets the global animation time.
ID3DXAnimationController::GetTrackAnimationSet Gets the animation set for the given track.
ID3DXAnimationController::GetTrackDesc Gets the track description.
ID3DXAnimationController::GetUpcomingPriorityBlend Returns an event handle to the next priority blend event scheduled to occur after a specified event.
ID3DXAnimationController::GetUpcomingTrackEvent Returns an event handle to the next event scheduled to occur after a specified event on an animation track.
ID3DXAnimationController::KeyPriorityBlend Sets blending event keys for the specified animation track.
ID3DXAnimationController::KeyTrackEnable Sets an event key that enables or disables an animation track.
ID3DXAnimationController::KeyTrackPosition Sets an event key that changes the local time of an animation track.
ID3DXAnimationController::KeyTrackSpeed Sets an event key that changes the rate of play of an animation track.
ID3DXAnimationController::KeyTrackWeight Sets an event key that changes the weight of an animation track. The weight is used as a multiplier when combining multiple tracks together.
ID3DXAnimationController::RegisterAnimationOutput Adds an animation output to the animation controller and registers pointers for scale, rotate, and translate (SRT) transformations.
ID3DXAnimationController::RegisterAnimationSet Adds an animation set to the animation controller.
ID3DXAnimationController::ResetTime Resets the global animation time to zero. Any pending events will retain their original schedules, but in the new timeframe.
ID3DXAnimationController::SetPriorityBlend Sets the priority blending weight used by the animation controller.
ID3DXAnimationController::SetTrackAnimationSet Applies the animation set to the specified track.
ID3DXAnimationController::SetTrackDesc Sets the track description.
ID3DXAnimationController::SetTrackEnable Enables or disables a track in the animation controller.
ID3DXAnimationController::SetTrackPosition Sets the track to the specified local animation time.
ID3DXAnimationController::SetTrackPriority Sets the priority blending weight for the specified animation track.
ID3DXAnimationController::SetTrackSpeed Sets the track speed. The track speed is similar to a multiplier that is used to speed up or slow down the playback of the track.
ID3DXAnimationController::SetTrackWeight Sets the track weight. The weight is used to determine how to blend multiple tracks together.
ID3DXAnimationController::UnkeyAllPriorityBlends Removes all scheduled priority blend events from the animation controller.
ID3DXAnimationController::UnkeyAllTrackEvents Removes all events from a specified animation track.
ID3DXAnimationController::UnkeyEvent Removes a specified event from an animation track, preventing the execution of the event.
ID3DXAnimationController::UnregisterAnimationSet Removes an animation set from the animation controller.
ID3DXAnimationController::ValidateEvent Checks whether a specified event handle is valid and the animation event has not yet completed.

Remarks

Create an animation controller object with D3DXCreateAnimationController.

The LPD3DXANIMATIONCONTROLLER type is defined as a pointer to the ID3DXAnimationController interface.

typedef interface ID3DXAnimationController ID3DXAnimationController;
typedef interface ID3DXAnimationController *LPD3DXANIMATIONCONTROLLER;

The D3DXEVENTHANDLE type is defined as an event handle to animation controller events.

typedef DWORD D3DXEVENTHANDLE;

The LPD3DXEVENTHANDLE type is defined as a pointer to an event handle to animation controller events.

typedef D3DXEVENTHANDLE *LPD3DXEVENTHANDLE;

Requirements

Header: Declared in D3dx9anim.h.

Import Library: Use D3dx9.lib.