ID3DXAnimationSet interface

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.

Members

The ID3DXAnimationSet interface inherits from the IUnknown interface. ID3DXAnimationSet also has these types of members:

Methods

The ID3DXAnimationSet interface has these methods.

Method Description
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;

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

D3DX Interfaces