RwSetMaterialColor(RwMaterial
*material, RwReal r, RwReal g,
RwReal b);
Description
Sets the materials color.
Arguments
material Pointer to the material.
r Red component of the color, in the range CREAL(0.0) to CREAL(1.0).
g Green component of the color, in the range CREAL(0.0) to CREAL(1.0).
b Blue component of the color, in the range CREAL(0.0) to CREAL(1.0).
Return Value
The argument material if successful, and NULL otherwise.
Comments
This function is identical to RwSetMaterialColorStruct() with the exception that it takes individual RwReals for the red, green and blue components of the color rather than an RwRGBColor structure as the color specification.
See Also