123456789101112131415161718192021222324252627282930313233 |
- import {
- Camera,
- Vector3
- } from '../../../src/Three';
- export class FirstPersonControls {
- constructor( object: Camera, domElement?: HTMLElement );
- object: Camera;
- domElement: HTMLElement | HTMLDocument;
- enabled: boolean;
- movementSpeed: number;
- lookSpeed: number;
- lookVertical: boolean;
- autoForward: boolean;
- activeLook: boolean;
- heightSpeed: boolean;
- heightCoef: number;
- heightMin: number;
- heightMax: number;
- constrainVertical: boolean;
- verticalMin: number;
- verticalMax: number;
- mouseDragOn: boolean;
- handleResize(): void;
- lookAt( x: number | Vector3, y: number, z: number ): this;
- update( delta: number ): this;
- dispose(): void;
- }
|