Microsoft SDK for Java

translate

This method of the Direct3dRMMesh Class adds the specified offsets to the vertex positions of a Direct3dRMMesh object.

Syntax

public void translate(float tx, float ty, float tz);

Parameters

tx The offset that is added to the x-coordinate of each vertex position.
ty The offset that is added to the y-coordinate of each vertex position.
tz The offset that is added to the z coordinate of each vertex position.

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