SVGRenderer.d.ts 655 B

123456789101112131415161718192021222324252627282930313233
  1. import {
  2. Object3D,
  3. Color,
  4. Scene,
  5. Camera
  6. } from '../../../src/Three';
  7. export class SVGObject extends Object3D {
  8. constructor( node: SVGElement );
  9. node: SVGElement;
  10. }
  11. export class SVGRenderer {
  12. constructor();
  13. domElement: SVGElement;
  14. autoClear: boolean;
  15. sortObjects: boolean;
  16. sortElements: boolean;
  17. overdraw: number;
  18. info: {render: {vertices: number, faces: number}};
  19. setQuality( quality: string ): void;
  20. setClearColor( color: Color, alpha: number ): void;
  21. setPixelRatio(): void;
  22. setSize( width: number, height: number ): void;
  23. setPrecision( precision: number ): void;
  24. clear(): void;
  25. render( scene: Scene, camera: Camera ): void;
  26. }