Line.d.ts 698 B

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