C4 Engine
C4 Engine API Documentation

EnvironmentAttribute::SetEnvironmentColor

Defined in:  C4Attributes.h
Sets the environment color.
Prototype

void SetEnvironmentColor(const ColorRGBA& color);

Parameters
color The new environment color.
Description
The SetEnvironmentColor attribute sets the environment color stored in an environment material attribute to the value given by the color parameter. A renderable object to which the affected attribute applies will subsequently be rendered using the new color.
See Also

EnvironmentAttribute::GetEnvironmentColor