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