RwGetLightBrightness(RwLight *light);
Description
Retrieves the lights brightness.
Arguments
light Pointer to the light.
Return Value
The brightness of the light if successful. Errors can be checked for using RwGetError().
Comments
If the lights color has been previously set with a call to RwSetLightColor() then the value returned by RwGetLightBrightness() will be the average intensity of the red, green and blue channels of the lights color.
See Also