ID3DXKeyframedAnimationSet::GetScaleKeys method

Fills an array with scale key data used for key frame animation.

Syntax

HRESULT GetScaleKeys(
  [in] UINT              Animation,
  [in] LPD3DXKEY_VECTOR3 pScaleKeys
);

Parameters

Animation [in]

Type: UINT

Animation index.

pScaleKeys [in]

Type: LPD3DXKEY_VECTOR3

Pointer to a user-allocated array of D3DXKEY_VECTOR3 vectors that the method is to fill with animation scale data.

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

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXKeyframedAnimationSet

ID3DXKeyframedAnimationSet::GetNumScaleKeys