@shopware-ag/dive
Version:
Shopware Spatial Framework
18 lines (17 loc) • 747 B
TypeScript
import { Object3D } from 'three/webgpu';
import { OrbitController } from '../../../plugins/orbitcontroller/index.ts';
import { DIVEAxisHandle } from '../handles/AxisHandle.ts';
import { DraggableEvent } from '../../../plugins/toolbox/index.ts';
export declare class DIVETranslateGizmo extends Object3D {
private _controller;
set debug(value: boolean);
children: DIVEAxisHandle[];
private _startPos;
constructor(controller: OrbitController);
reset(): void;
private handleHighlight;
onHandleHover(handle: DIVEAxisHandle, value: boolean): void;
onHandleDragStart(handle: DIVEAxisHandle): void;
onHandleDrag(handle: DIVEAxisHandle, e: DraggableEvent): void;
onHandleDragEnd(handle: DIVEAxisHandle): void;
}