ID3DXAnimationController::RegisterAnimationSet method

Adds an animation set to the animation controller.

Syntax

HRESULT RegisterAnimationSet(
  [in] LPD3DXANIMATIONSET pAnimSet
);

Parameters

pAnimSet [in]

Type: LPD3DXANIMATIONSET

Pointer to the ID3DXAnimationSet animation set to add.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController