RwSetMaterialColorStruct(RwMaterial *material, RwRGBColor *color);
Description
Sets the materials color.
Arguments
material Pointer to the material.
color Pointer to the color.
Return Value
The argument material if successful, and NULL otherwise.
Comments
This function is identical to RwSetMaterialColor() with the exception that it takes an RwRGBColor structure as the color specification rather than individual RwReals for the red, green and blue components of the color. This can be useful as a call-back in RwForAll () functions.
See Also