Skip to content

Latest commit

 

History

History
87 lines (54 loc) · 1.58 KB

id3dxanimationcontroller--getanimationset.md

File metadata and controls

87 lines (54 loc) · 1.58 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Gets an animation set.
61785f60-82c1-4ddc-b4cd-2e7f665cfe8c
ID3DXAnimationController::GetAnimationSet method (D3dx9anim.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXAnimationController.GetAnimationSet
COM
d3dx9.lib
d3dx9.dll

ID3DXAnimationController::GetAnimationSet method

Gets an animation set.

Syntax

HRESULT GetAnimationSet(
  [in]  UINT               Index,
  [out] LPD3DXANIMATIONSET *ppAnimSet
);

Parameters

Index [in]

Type: UINT

Index of the animation set.

ppAnimSet [out]

Type: LPD3DXANIMATIONSET*

Pointer to the ID3DXAnimationSet animation set.

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

The animation controller contains an array of animation sets. This method returns one of them at the given index.

Requirements

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

ID3DXAnimationController