ID3DXAnimationController::UnregisterAnimationSet method

Removes an animation set from the animation controller.

Syntax

HRESULT UnregisterAnimationSet(
  [in] LPD3DXANIMATIONSET pAnimSet
);

Parameters

pAnimSet [in]

Type: LPD3DXANIMATIONSET

Pointer to the ID3DXAnimationSet animation set to remove.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following values: D3DERR_INVALIDCALL, D3DERR_NOTFOUND.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController