Microsoft SDK for Java

setUniformScaling

This method of the Direct3dRMViewport Class sets the scaling property used to scale the viewing volume into the larger dimension of the window.

Syntax

public void setUniformScaling(int flag);

Parameters

flag The new scaling property. If this parameter is true, the same horizontal and vertical scaling factor is used to scale the viewing volume. Otherwise, different scaling factors are used to scale the viewing volume exactly into the window.

Remarks

This method is typically used with the setPlane method to support banding.

By default, the initial scaling property is true.

See Also

getUniformScaling

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