C4 Engine
C4 Engine API Documentation

SpecularAttribute::SetSpecularColor

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

void SetSpecularColor(const ColorRGBA& color);

Parameters
color The new specular color. The alpha component is ignored.
Description
The SetSpecularColor attribute sets the specular color stored in a specular 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. The alpha component of the specular color does not participate in shading calculations.
See Also

SpecularAttribute::GetSpecularColor

SpecularAttribute::GetSpecularExponent

SpecularAttribute::SetSpecularExponent