FogExp2.d.ts 466 B

1234567891011121314151617181920
  1. import { Color } from './../math/Color';
  2. import { IFog } from './Fog';
  3. /**
  4. * This class contains the parameters that define linear fog, i.e., that grows exponentially denser with the distance.
  5. */
  6. export class FogExp2 implements IFog {
  7. constructor(hex: number | string, density?: number);
  8. name: string;
  9. color: Color;
  10. /**
  11. * Defines how fast the fog will grow dense.
  12. * Default is 0.00025.
  13. */
  14. density: number;
  15. clone(): this;
  16. toJSON(): any;
  17. }