UNPKG

@shopware-ag/dive

Version:

Shopware Spatial Framework

18 lines (17 loc) 728 B
import { Object3D } from 'three'; import { default as DIVEOrbitControls } from '../../controls/OrbitControls'; import { DIVEAxisHandle } from '../handles/AxisHandle'; import { DraggableEvent } from '../../toolbox/BaseTool'; export declare class DIVETranslateGizmo extends Object3D { private _controller; set debug(value: boolean); children: DIVEAxisHandle[]; private _startPos; constructor(controller: DIVEOrbitControls); reset(): void; private handleHighlight; onHandleHover(handle: DIVEAxisHandle, value: boolean): void; onHandleDragStart(handle: DIVEAxisHandle): void; onHandleDrag(handle: DIVEAxisHandle, e: DraggableEvent): void; onHandleDragEnd(handle: DIVEAxisHandle): void; }