ID3DXKeyframedAnimationSet::UnregisterRotationKey method

Removes the rotation data at the specified key frame.

Syntax

HRESULT UnregisterRotationKey(
  [in] UINT Animation,
  [in] UINT Key
);

Parameters

Animation [in]

Type: UINT

Animation identifier.

Key [in]

Type: UINT

Key frame.

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.

Remarks

This method is slow and should not be used after an animation has begun to play.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXKeyframedAnimationSet