ID3DXKeyframedAnimationSet::UnregisterAnimation method

Remove the animation data from the animation set.

Syntax

HRESULT UnregisterAnimation(
  [in] UINT Index
);

Parameters

Index [in]

Type: UINT

The animation index.

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

Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXKeyframedAnimationSet