# [name]

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

## Constructor

### [name]( [page:Integer hex], [page:Float near], [page:Float far] )

The hex parameter is passed to the [page:Color] constructor to set the color property. Hex can be a hexadecimal integer or a CSS-style string.

## Properties

### [property:String name]

Default is the empty string.

### [property:Color color]

Fog color. Example: If set to black, far away objects will be rendered black.

### [property:Float near]

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 is 1.

### [property:Float far]

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 is 1000.

## Methods

### [method:Fog clone]()

Returns a copy of this.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]