Compartir a través de


Método ID3DXKeyframedAnimationSet::GetTranslationKey

Obtiene información de traducción de un fotograma clave específico en el conjunto de animaciones.

Sintaxis

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

Parámetros

Animación [in]

Tipo: UINT

Índice de animación.

Clave [in]

Tipo: UINT

Fotograma clave.

pTranslationKey [out]

Tipo: LPD3DXKEY_VECTOR3

Puntero a la información de rotación. Consulte D3DXKEY_VECTOR3.

Valor devuelto

Tipo: HRESULT

Si el método se realiza correctamente, el valor devuelto se S_OK. Si se produce un error en el método, se devolverá el siguiente valor: D3DERR_INVALIDCALL.

Requisitos

Requisito Value
Encabezado
D3dx9anim.h
Biblioteca
D3dx9.lib

Consulte también

ID3DXKeyframedAnimationSet