Microsoft SDK for Java

addPositionKey

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

Syntax

public void addPositionKey(float time, float x, float y, float z);

Parameters

time The time in the animation to store the position 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.
x The x component of the position.
y The y component of the position.
z The z component of the position.

Remarks

The transformation applied by this method is a translation.

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