Condividi tramite


Metodo ID3DXKeyframedAnimationSet::SetScaleKey

Impostare le informazioni sulla scala per un fotogramma chiave specifico nel set di animazioni.

Sintassi

HRESULT SetScaleKey(
  [in] UINT              Animation,
  [in] UINT              Key,
  [in] LPD3DXKEY_VECTOR3 pScaleKeys
);

Parametri

Animazione [in]

Tipo: UINT

Indice di animazione.

Chiave [in]

Tipo: UINT

Fotogramma chiave.

pScaleKeys [in]

Tipo: LPD3DXKEY_VECTOR3

Puntatore ai dati di scala. Vedere D3DXKEY_VECTOR3.

Valore restituito

Tipo: HRESULT

Se il metodo ha esito positivo, il valore restituito viene 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