ZoneObject::SetAmbientLight
Defined in:
Sets the color of the ambient light for a zone.
C4Zones.h
Prototype
void SetAmbientLight(const ColorRGBA& ambient);
Parameters
ambient |
The new ambient light color. |
Description
The SetAmbientLight
function sets the color of the ambient light used in a zone to that specified by the ambient
paramater. The alpha component of the color is not used and should be set to 1.0.The initial ambient light color is (1.0, 1.0, 1.0, 1.0).
See Also