Microsoft SDK for Java

scale

This method of the Direct3dRMMesh Class scales a Direct3dRMMesh object by the given scaling factors parallel to the x-, y-, and z-axes in model coordinates.

Syntax

public void scale(float sx, float sy, float sz);

Parameters

sx The scaling factor that is applied along the x-axis.
sy The scaling factor that is applied along the y-axis.
sz The scaling factor that is applied along the z-axis.

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