Microsoft SDK for Java

addRotateKey

This method of the Direct3dRMAnimation Class adds a rotate key to the animation.

Syntax

public void addRotateKey(float time, D3dRMQuaternion q);

Parameters

time The time in the animation to store the rotate key. The time units are arbitrary and zero-based; a key whose time value is 49 occurs exactly in the middle of an animation, whose last key has an time value of 99.
q D3dRMQuaternion representing the rotation.

Remarks

This method applies a rotation transformation.

See Also

deleteKey

© 1999 Microsoft Corporation. All rights reserved. Terms of use.