123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import {
- Object3D,
- Camera,
- MOUSE
- } from '../../../src/Three';
- export class TransformControls extends Object3D {
- constructor( object: Camera, domElement?: HTMLElement );
- domElement: HTMLElement;
- // API
- camera: Camera;
- object: Object3D | undefined;
- enabled: boolean;
- axis: string | null;
- mode: string;
- translationSnap: number | null;
- rotationSnap: number | null;
- space: string;
- size: number;
- dragging: boolean;
- showX: boolean;
- showY: boolean;
- showZ: boolean;
- readonly isTransformControls: true;
- mouseButtons: {
- LEFT: MOUSE;
- MIDDLE: MOUSE;
- RIGHT: MOUSE;
- };
- attach( object: Object3D ): this;
- detach(): this;
- getMode(): string;
- setMode( mode: string ): void;
- setTranslationSnap( translationSnap: Number | null ): void;
- setRotationSnap( rotationSnap: Number | null ): void;
- setSize( size: number ): void;
- setSpace( space: string ): void;
- dispose(): void;
- }
|