SpecularAttribute::SetSpecularColor
Defined in:
Sets the specular color.
C4Attributes.h
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