![]() |
![]() |
![]() |
Removes the rotation data at the specified key frame.
Syntax
HRESULT UnregisterRotationKey(
UINT Animation, UINT Key );
Parameters
- Animation
- [in] Animation identifier.
- Key
- [in] Key frame.
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
Remarks
This method is slow and should not be used after an animation has begun to play.