Files
DefinitelyTyped/three/three-transformcontrols.d.ts
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

25 lines
657 B
TypeScript

// Type definitions for three.js (TransformControls.js)
// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/controls/TransformControls.js
// Definitions by: Stefan Profanter <https://github.com/Pro>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace THREE {
class TransformControls extends Object3D {
constructor(object: Camera, domElement?: HTMLElement);
object: Object3D;
update(): void;
detach(): void;
attach(object: Object3D): void;
getMode(): string;
setMode(mode: string): void;
setSnap(snap: any): void;
setSize(size: number): void;
setSpace(space: string): void;
}
}