The color parameter is passed to the Color constructor to set the color property
Optional
near: numberExpects a Float
Optional
far: numberExpects a Float
Fog color.
The maximum distance at which fog stops being calculated and applied.
Readonly
isRead-only flag to check if a given object is of type Fog.
Optional name of the object
The minimum distance to start applying fog.
This class contains the parameters that define linear fog, i.e., that grows linearly denser with the distance.
Example
See