ID3DXAnimationController::RegisterAnimationSet

Adds an animation set to the animation controller.

HRESULT RegisterAnimationSet(
  LPD3DXANIMATIONSET pAnimSet
);

Parameters

pAnimSet
[in] Pointer to the ID3DXAnimationSet animation set to add.

Return Values

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

Requirements

Header: Declared in D3dx9anim.h.