RwGetLightColor(RwLight *light, RwRGBColor *color);
Description
Retrieves the color of a light.
Arguments
light Pointer to the light.
color Pointer to the RwRGBColor that will receive the lights color.
Return Value
The argument color if successful, and NULL otherwise.
Comments
If a lights brightness has been previously set with RwSetLightBrightness() the red, green and blues channels of the color returned by RwGetLightColor() will be equal to the specified brightness.
See Also