FlyControls.d.ts 336 B

1234567891011121314151617181920
  1. import {
  2. Camera
  3. } from '../../../src/Three';
  4. export class FlyControls {
  5. constructor( object: Camera, domElement?: HTMLElement );
  6. object: Camera;
  7. domElement: HTMLElement | HTMLDocument;
  8. movementSpeed: number;
  9. rollSpeed: number;
  10. dragToLook: boolean;
  11. autoForward: boolean;
  12. update( delta: number ): void;
  13. dispose(): void;
  14. }