ID3DXKeyframedAnimationSet::GetRotationKeys method

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

Syntax

HRESULT GetRotationKeys(
  [in] UINT                 Animation,
  [in] LPD3DXKEY_QUATERNION pRotationKeys
);

Parameters

Animation [in]

Type: UINT

Animation index.

pRotationKeys [in]

Type: LPD3DXKEY_QUATERNION

Pointer to a user-allocated array of D3DXKEY_QUATERNION quaternions that the method is to fill with animation rotation 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::GetNumRotationKeys