C4 Engine
C4 Engine API Documentation

DiffuseAttribute::SetDiffuseColor

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

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

DiffuseAttribute::SetDiffuseAlpha

DiffuseAttribute::GetDiffuseColor