Skip to content

Commit

Permalink
FlyControls: Introduce enabled property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jul 1, 2023
1 parent 15e0d2d commit c3e1aa4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions types/three/examples/jsm/controls/FlyControls.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { Camera, EventDispatcher } from '../../../src/Three';
export class FlyControls extends EventDispatcher {
constructor(object: Camera, domElement?: HTMLElement);

object: Camera;
autoForward: boolean;
domElement: HTMLElement | Document;

dragToLook: boolean;
enabled: boolean;
movementSpeed: number;
object: Camera;
rollSpeed: number;
dragToLook: boolean;
autoForward: boolean;

update(delta: number): void;
dispose(): void;
update(delta: number): void;
}

0 comments on commit c3e1aa4

Please sign in to comment.