Dart DocumentationthreeFogLinear

FogLinear class

@author mr.doob / http://mrdoob.com/ @author alteredq / http://alteredqualia.com/

Ported to Dart from JS by: @author rob silverton / http://www.unwrong.com/

class FogLinear implements Fog {
 Color color;
 double near;
 double far;
 FogLinear( num hex, [this.near = 1.0, this.far = 1000.0] ) : color = new Color( hex );
}

Implements

Fog

Constructors

new FogLinear(num hex, [double near = 1.0, double far = 1000.0]) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
FogLinear( num hex, [this.near = 1.0, this.far = 1000.0] ) : color = new Color( hex );

Properties

Color color #

Color color

double far #

double far

double near #

double near