LineSegmentsGeometry.d.ts 670 B

12345678910111213141516171819202122232425
  1. import {
  2. EdgesGeometry,
  3. InstancedBufferGeometry,
  4. LineSegments,
  5. Matrix4,
  6. Mesh,
  7. WireframeGeometry
  8. } from '../../../src/Three';
  9. export class LineSegmentsGeometry extends InstancedBufferGeometry {
  10. constructor();
  11. readonly isLineSegmentsGeometry: true;
  12. applyMatrix4( matrix: Matrix4 ): this;
  13. computeBoundingBox(): void;
  14. computeBoundingSphere(): void;
  15. fromEdgesGeometry( geometry: WireframeGeometry ): this;
  16. fromLineSegements( lineSegments: LineSegments ): this;
  17. fromMesh( mesh: Mesh ): this;
  18. fromWireframeGeometry( geometry: EdgesGeometry ): this;
  19. setColors( array: number[] | Float32Array ): this;
  20. setPositions( array: number[] | Float32Array ): this;
  21. }