Class FogExp2

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

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(hex: number, density?: number): FogExp2

Parameters

  • hex: number
  • density?: number optional

Returns

FogExp2

Properties

public color: Color

public density: number

Defines how fast the fog will grow dense. Default is 0.00025.

public name: string

Methods

public clone(): FogExp2

Returns

FogExp2