Condividi tramite


Metodo ID3DXKeyframedAnimationSet::GetTranslationKey

Ottenere informazioni di traduzione per un frame chiave specifico nel set di animazioni.

Sintassi

HRESULT GetTranslationKey(
  [in]  UINT              Animation,
  [in]  UINT              Key,
  [out] LPD3DXKEY_VECTOR3 pTranslationKey
);

Parametri

Animazione [in]

Tipo: UINT

Indice di animazione.

Chiave [in]

Tipo: UINT

Fotogramma chiave.

pTranslationKey [out]

Tipo: LPD3DXKEY_VECTOR3

Puntatore alle informazioni di rotazione. Vedere D3DXKEY_VECTOR3.

Valore restituito

Tipo: HRESULT

Se il metodo ha esito positivo, il valore restituito è S_OK. Se il metodo ha esito negativo, verrà restituito il valore seguente: D3DERR_INVALIDCALL.

Requisiti

Requisito Valore
Intestazione
D3dx9anim.h
Libreria
D3dx9.lib

Vedi anche

ID3DXKeyframedAnimationSet