Defined in:Sets the light color.
void SetLightColor(const ColorRGB& color);
||The new light color.|
SetLightColorfunction sets the light color. The light color may be changed at any time, and doing so has immediate effect.
To turn a light off, the
kNodeDisabledflag should be set for the
Lightnode by calling the
Node::SetNodeFlagsfunction. This results in much better performance than setting the light's color to black.