Microsoft SDK for Java

setRange

This method of the Direct3dRMLight Class sets the range of a light. The light affects only those objects within the range.

Syntax

public void setRange(float rng);

Parameters

rng The new range.

Remarks

By default, the initial range of light is 256.

See Also

getRange

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