Dart DocumentationthreeFogExp2

FogExp2 class

class FogExp2 implements Fog {
 Color color;
 num density;
 FogExp2( num hex, [this.density = 0.00025] ) : color = new Color( hex );
}

Implements

Fog

Constructors

new FogExp2(num hex, [num density = 0.00025]) #

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
FogExp2( num hex, [this.density = 0.00025] ) : color = new Color( hex );

Properties

Color color #

Color color

num density #

num density