Microsoft SDK for Java

getConstantAttenuation

This method of the Direct3dRMLight Class retrieves the constant attenuation factor for the Direct3dRMLight object.

Syntax

public float getConstantAttenuation();

Return Value

Returns the constant attenuation value.

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

setConstantAttenuation

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