|Description:||Sets the light point color.|
This affects the color the illuminated area takes on, as well as the color of the light "halo" (if the light setLightBrightness is higher than about 0.2, a "halo" can be seen around the light point). While the RGB component values can be as high as 255, it is easier to adjust the desired color by using lower values (for example, 0-10). What matters the most is the proportion of red / green / blue.
|Syntax:||light setLightColor [r, g, b]|
Sets the color of "_light" to blue:
_light setLightColor [0,0,10];
Effect of different light and ambient colors:
|See also:||setLightAmbient getLightAmbient setLightBrightness getLightBrightness getLightColor, laserObjects|