Lensflare.d.ts 405 B

12345678910111213141516171819202122232425
  1. import {
  2. Mesh,
  3. Texture,
  4. Color
  5. } from '../../../src/Three';
  6. export class LensflareElement {
  7. constructor( texture: Texture, size?: number, distance?: number, color?: Color );
  8. texture: Texture;
  9. size: number;
  10. distance: number;
  11. color: Color;
  12. }
  13. export class Lensflare extends Mesh {
  14. constructor();
  15. readonly isLensflare: true;
  16. addElement( element: LensflareElement ): void;
  17. dispose(): void;
  18. }