Microsoft SDK for Java

setDecalSize

This method of the Direct3dRMTexture Class sets the size of the decal to be used if the decal is being scaled according to its depth in the scene.

Syntax

public void setDecalSize(float width, float height);

Parameters

width The new width of the decal, in model coordinates.
height The new height of the decal, in model coordinates.

Remarks

By default, the initial decal size is [1, 1].

See Also

getDecalSize

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