starry / backend /libs /three /scenes /FogExp2.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
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;
}