Microsoft SDK for Java

addTranslation

This method of the Direct3dRMFrame Class adds a translation by (x, y, z) to a frame's local coordinate system.

Syntax

public void addTranslation(int t, float x, float y, float z);

Parameters

t The value of combine type that specifies how to combine the new translation with any current translation.
x The position change in the x direction.
y The position change in the y direction.
z The position change in the z direction.

Remarks

The specified translation changes the matrix only for the frame identified by this object.

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