Line.d.ts 688 B

12345678910111213141516171819202122232425
  1. import { Geometry } from './../core/Geometry';
  2. import { Material } from './../materials/Material';
  3. import { Raycaster } from './../core/Raycaster';
  4. import { Object3D } from './../core/Object3D';
  5. import { BufferGeometry } from '../core/BufferGeometry';
  6. import { Intersection } from '../core/Raycaster';
  7. export class Line extends Object3D {
  8. constructor(
  9. geometry?: Geometry | BufferGeometry,
  10. material?: Material | Material[],
  11. mode?: number
  12. );
  13. geometry: Geometry | BufferGeometry;
  14. material: Material | Material[];
  15. type: 'Line' | 'LineLoop' | 'LineSegments';
  16. isLine: true;
  17. computeLineDistances(): this;
  18. raycast( raycaster: Raycaster, intersects: Intersection[] ): void;
  19. }