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 |
|
Libreria |
|
Vedi anche