ID3DXKeyframedAnimationSet::UnregisterRotationKey

Removes the rotation data at the specified key frame.

HRESULT UnregisterRotationKey(
  UINT Animation,
  UINT Key
);

Parameters

Animation
[in] Animation identifier.
Key
[in] Key frame.

Return Values

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

Header: Declared in D3dx9anim.h.