ID3DXAnimationController::GetAnimationSet

Gets an animation set.

HRESULT GetAnimationSet(
  UINT Index,
  LPD3DXANIMATIONSET * ppAnimSet
);

Parameters

Index
[in] Index of the animation set.
ppAnimSet
[out] Pointer to the ID3DXAnimationSet animation set.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.

Remarks

The animation controller contains an array of animation sets. This method returns one of them at the given index.

Requirements

Header: Declared in D3dx9anim.h.