ID3DXAnimationController::GetAnimationSet-Methode

Ruft einen Animationssatz ab.

Syntax

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

Parameter

Index [ In]

Typ: UINT

Index des Animationssatzes.

ppAnimSet [ out]

Typ: LPD3DXANIMATIONSET*

Zeiger auf den ID3DXAnimationSet-Animationssatz.

Rückgabewert

Typ: HRESULT

Wenn die Methode erfolgreich ist, lautet der Rückgabewert S _ OK. Wenn die Methode fehlschlägt, wird der folgende Wert zurückgegeben: D3DERR _ INVALIDCALL.

Bemerkungen

Der Animationscontroller enthält ein Array von Animationssätzen. Diese Methode gibt eine davon am angegebenen Index zurück.

Requirements (Anforderungen)

Anforderung Wert
Header
D3dx9anim.h
Bibliothek
D3dx9.lib

Weitere Informationen

ID3DXAnimationController