ID3DXAnimationSet

This interface encapsulates the minimum functionality required of an animation set by an animation controller. Advanced users might want to implement this interface themselves to suit their specialized needs; for most users, however, the derived ID3DXCompressedAnimationSet and ID3DXKeyframedAnimationSet interfaces should suffice.

ID3DXAnimationSet
   ID3DXCompressedAnimationSet
   ID3DXKeyframedAnimationSet

ID3DXAnimationSet Members

Method Description
ID3DXAnimationSet::GetAnimationIndexByName Gets the index of an animation, given its name.
ID3DXAnimationSet::GetAnimationNameByIndex Gets the name of an animation, given its index.
ID3DXAnimationSet::GetCallback Gets information about a specific callback in the animation set.
ID3DXAnimationSet::GetName Gets the animation set name.
ID3DXAnimationSet::GetNumAnimations Gets the number of animations in the animation set.
ID3DXAnimationSet::GetPeriod Gets the period of the animation set.
ID3DXAnimationSet::GetPeriodicPosition Returns time position in the local timeframe of an animation set.
ID3DXAnimationSet::GetSRT Gets the scale, rotation, and translation values of the animation set.

Remarks

An animation set consists of animations for many nodes for the same animation.

The LPD3DXANIMATIONSET type is defined as a pointer to this interface.

typedef interface ID3DXAnimationSet ID3DXAnimationSet;
typedef interface ID3DXAnimationSet *LPD3DXANIMATIONSET;

Requirements

Header: Declared in D3dx9anim.h.

Import Library: Use D3dx9.lib.