This class contains the parameters that define linear fog, i.e., that grows linearly denser with the distance.

Hierarchy

  • Fog

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

    Returns Fog

Properties

color: Color

Fog color.

far: number

The maximum distance at which fog stops being calculated and applied. Objects that are more than 'far' units away from the active camera won't be affected by fog.

Default

1000

isFog: true
name: string

Default

''

near: number

The minimum distance to start applying fog. Objects that are less than 'near' units from the active camera won't be affected by fog.

Default

1

Methods

  • Returns Fog

  • Returns any

Generated using TypeDoc