MaterialDiffuseColor()
Syntax
MaterialDiffuseColor(#Material, Color)Description
Changes the #Material diffuse color. The diffuse material color is the color than the material will reflect when it will be dynamically lighted. For example, using a full white color (RGB(255,255,255)) will result at normal lighting (all colors are reflected). If you use a red (RGB(255,0,0)), then only the red colors of the material will be reflected, resulting as a full red material (or black one, if the material doesn't contain any red color). A valid color value can be easily obtained with the RGB() command.
Supported OS
Windows, Linux