FogExp2.d.ts 460 B

12345678910111213141516171819202122
  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. }
粤ICP备19079148号