IDirect3DRMAnimation::AddScaleKey
HRESULT AddScaleKey(D3DVALUE rvTime, D3DVALUE rvX, D3DVALUE rvY,
D3DVALUE rvZ);
Adds a scale key to the animation.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
rvTime
Time in the animation to store the scale key. The time units are arbitrary and zero-based; a key whose rvTime value is 49 occurs exactly in the middle of an animation whose last key has an rvTime value of 99.
rvX, rvY, and rvZ
Scale factor.
This method applies a scaling transformation. For information about the matrix mathematics involved in transformations, see 3D Transformations.