Microsoft SDK for Java

setConstantAttenuation

This method of the Direct3dRMLight Class sets the constant attenuation factor for a light.

Syntax

public void setConstantAttenuation(float atn);

Parameters

atn The new attenuation factor.

Remarks

The constant attenuation value affects the light intensity inversely. For example, a constant attenuation value of 2 reduces the intensity of the light by half.

See Also

getConstantAttenuation

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