3D Lingo Dictionary > E-K > far (fog)

 

far (fog)

Syntax

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

Description

3D camera property; indicates the distance from the camera, in world units, where the fog reaches its maximum density when the camera's fog.enabled property is set to TRUE.

The default value for this property is 1000.

Example

This statement sets the far property of the fog of the camera named BayView to 5000. If the fog's enabled property is set to TRUE, the fog will be densest 5000 world units in front of the camera.

member("MyYard").camera("BayView").fog.far = 5000

See also

fog, near (fog)