DragControls.d.ts 317 B

123456789101112131415161718192021
  1. import {
  2. Camera,
  3. EventDispatcher,
  4. Object3D
  5. } from '../../../src/Three';
  6. export class DragControls extends EventDispatcher {
  7. constructor( objects: Object3D[], camera: Camera, domElement?: HTMLElement );
  8. object: Camera;
  9. // API
  10. enabled: boolean;
  11. activate(): void;
  12. deactivate(): void;
  13. dispose(): void;
  14. }