3D Lingo Dictionary > L-N > near (fog)

 

near (fog)

Syntax

member(whichCastmember).camera(whichCamera).fog.near
cameraReference.fog.near
member(whichCastmember).camera(whichCamera).fog.far
cameraReference.fog.far

Description

3D properties; this property allows you to get or set the distance from the front of the camera to the point where the fogging starts if fog.enabled is TRUE.

The default value for this property is 0.0.

Example

This statement sets the near property of the fog of the camera Defaultview to 100. If the fog's enabled property is set to TRUE and its decayMode property is set to #linear, fog will first appear 100 world units in front of the camera.

member("3d world").camera("defaultview").fog.near = 100.0

See also

fog, far (fog), enabled (fog), decayMode