ID3DXAnimationController::GetTrackAnimationSet method

Gets the animation set for the given track.

Syntax

HRESULT GetTrackAnimationSet(
  [in]  UINT               Track,
  [out] LPD3DXANIMATIONSET *ppAnimSet
);

Parameters

Track [in]

Type: UINT

Track identifier.

ppAnimSet [out]

Type: LPD3DXANIMATIONSET*

Pointer to the ID3DXAnimationSet animation set for the given track.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController