3D Lingo Dictionary > C-D > color (light) |  |

color (light)

Syntax

    member(whichCastmember).light(whichLight).color

Description

3D light property; indicates the rgb value of the light.

The default value of this property is `rgb(191,191,191)`.

Example

This statement sets the color of the light named RoomLight to `rgb(255, 0, 255)`.

    member("Room").light("RoomLight").color = rgb(255,0,255)

See also

`fog`