C4 Engine
C4 Engine API Documentation

ZoneObject::SetAmbientLight

Defined in:  C4Zones.h
Sets the color of the ambient light for a zone.
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

ZoneObject::GetAmbientLight