UNPKG

three

Version:

JavaScript 3D library

21 lines (17 loc) 466 B
import { Color } from './../math/Color'; import { IFog } from './Fog'; /** * This class contains the parameters that define linear fog, i.e., that grows exponentially denser with the distance. */ export class FogExp2 implements IFog { constructor(hex: number | string, density?: number); name: string; color: Color; /** * Defines how fast the fog will grow dense. * Default is 0.00025. */ density: number; clone(): this; toJSON(): any; }