ID3DXKeyframedAnimationSet::UnregisterScaleKey method

Removes the scale data at the specified key frame.

Syntax

HRESULT UnregisterScaleKey(
  [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

Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXKeyframedAnimationSet