3D Lingo Dictionary > C-D > color (fog)

 

color (fog)

Syntax

member(whichCastmember).camera(whichCamera).fog.color
sprite(whichSprite).camera{(index)}.fog.color

Description

3D property; indicates the color introduced into the scene by the camera when the camera's fog.enabled property is set to TRUE.

The default setting for this property is rgb(0, 0, 0).

Example

This statement sets the color of the fog of the camera named BayView to rgb(255, 0, 0). If the camera's fog.enabled property is set to TRUE, models in the fog will take on a red hue.

member("MyYard").camera("BayView").fog.color = rgb(255, 0, 0)

See also

fog