UNPKG

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.

26 lines 966 B
import { IObject3D } from '../../core'; import { JSUndoManager } from 'ts-browser-helpers'; import { Object3D } from 'three'; import { ThreeViewer } from '../../viewer'; /** * Shared helper for multi-object transform gizmo support. * Used by both TransformControlsPlugin and PivotControlsPlugin. */ export declare class MultiSelectHelper { multiObjects: IObject3D[]; private _dummy; private _dummyStart; private _startStates; private _startWorldMatrices; get dummy(): Object3D | null; get hasMultiSelect(): boolean; get hasStartStates(): boolean; setup(objects: IObject3D[], viewer: ThreeViewer): Object3D; clear(viewer: ThreeViewer): void; captureStart(): void; applyDelta(): void; /** Reposition the dummy to the median of all selected objects */ updateDummyPosition(): void; recordUndo(undoManager: JSUndoManager): void; } //# sourceMappingURL=../../src/plugins/interaction/MultiSelectHelper.d.ts.map