DiffuseAttribute::SetDiffuseColor
Defined in:
Sets the diffuse color.
C4Attributes.hPrototype
void SetDiffuseColor(const ColorRGBA& color);
Parameters
color |
The new diffuse color. |
Description
The SetDiffuseColor attribute sets the diffuse color stored in a diffuse 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
