3D Lingo Dictionary > C-D > directionalColor |  |

directionalColor

Syntax

    member(whichCastmember).directionalColor

Description

3D cast member property; indicates the RGB color of the default directional light of the cast member.

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

Example

This statement sets the `directionalColor` property of the cast member named Room to rgb(0, 255, 0). The default directional light of the cast member will be green. This property can also be set in the Property Inspector.

    member("Room").directionalcolor = rgb(0, 255, 0)

See also

`directionalPreset`