Newer
Older
HuangJiPC / public / static / three / examples / jsm / lines / LineSegmentsGeometry.d.ts
@zhangdeliang zhangdeliang on 21 Jun 663 bytes update
import {
	EdgesGeometry,
	InstancedBufferGeometry,
	LineSegments,
	Matrix4,
	Mesh,
	WireframeGeometry
} from '../../../src/Three';

export class LineSegmentsGeometry extends InstancedBufferGeometry {

	constructor();
	isLineSegmentsGeometry: boolean;

	applyMatrix( matrix: Matrix4 ): this;
	computeBoundingBox(): void;
	computeBoundingSphere(): void;
	fromEdgesGeometry( geometry: WireframeGeometry ): this;
	fromLineSegements( lineSegments: LineSegments ): this;
	fromMesh( mesh: Mesh ): this;
	fromWireframeGeometry( geometry: EdgesGeometry ): this;
	setColors( array: number[] | Float32Array ): this;
	setPositions( array: number[] | Float32Array ): this;

}