File size: 517 Bytes
2b7aae2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Color } from './../math/Color';
import { FogBase } from './Fog';
/**
 * This class contains the parameters that define linear fog, i.e., that grows exponentially denser with the distance.
 */
export class FogExp2 implements FogBase {
	constructor(hex: number | string, density?: number);

	/**
	 * @default ''
	 */
	name: string;

	color: Color;

	/**
	 * Defines how fast the fog will grow dense.
	 * @default 0.00025
	 */
	density: number;

	readonly isFogExp2: true;

	clone(): FogExp2;
	toJSON(): any;
}