threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
27 lines • 1.07 kB
TypeScript
import { Line, LineLoop, LineSegments, Object3D } from 'three';
import { AHelperWidget } from './AHelperWidget';
import { Line2 } from 'three/examples/jsm/lines/Line2.js';
import { LineSegments2 } from 'three/examples/jsm/lines/LineSegments2.js';
import { MeshLine, MeshLineSegments } from '../../core';
export type LineType1 = (Line | LineLoop | LineSegments);
export type LineType2 = Line2 | LineSegments2 | MeshLine | MeshLineSegments;
export type LineType = LineType1 | LineType2;
export declare class LineHelper extends AHelperWidget {
line: LineType;
private _vertexHandles;
private _cubeGeometry;
private _cubeMaterial;
private _cubeMaterial2;
handleSize: number;
editableHandleSize: number;
handleColor: number;
editableHandleColor: number;
autoUpgradeChildren: boolean;
constructor(line: LineType);
update(): void;
private _clearVertexCubes;
dispose(): void;
static Check(obj: Object3D): true;
static Create(obj: Object3D): LineHelper;
}
//# sourceMappingURL=../../src/three/widgets/LineHelper.d.ts.map