UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in

24 lines (23 loc) 666 B
import { Behaviour } from "./Component.js"; /** * TransformGizmo is a component that displays a gizmo for transforming the object in the scene. * @category Helpers * @group Components */ export declare class TransformGizmo extends Behaviour { isGizmo: boolean; translationSnap: number; rotationSnapAngle: number; scaleSnap: number; private control?; private orbit?; /** @internal */ onEnable(): void; /** @internal */ onDisable(): void; enableSnapping(): void; disableSnapping(): void; private onControlChangedEvent; private windowKeyDownListener; private windowKeyUpListener; }