![]() |
![]() |
![]() |
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 Members
GetAnimationIndexByName Gets the index of an animation, given its name. GetAnimationNameByIndex Gets the name of an animation, given its index. GetCallback Gets information about a specific callback in the animation set. GetName Gets the animation set name. GetNumAnimations Gets the number of animations in the animation set. GetPeriod Gets the period of the animation set. GetPeriodicPosition Returns time position in the local timeframe of an animation set. 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;
Interface Information
Stock Implementation d3d9.dll Custom Implementation No Inherits from IUnknown Header d3dx9anim.h Import library d3dx9.lib Minimum operating systems Windows 98