ColorRGBA::Set
Defined in: C4ColorRGBA.h
Sets all four components of a color.
Prototype
ColorRGBA& Set(float r, float g, float b, float a = 1.0F);
Parameters
r |
The new red component.
|
g |
The new green component.
|
b |
The new blue component.
|
a |
The new alpha component.
|
Description
The Set function sets the red, green, blue, and alpha components of a color to the values given by the r, g, b, and a parameters, respectively.
The return value is a reference to the color object.
|