Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-stdlib /controls /FlyControls.d.ts
| import { Camera } from 'three'; | |
| import { EventDispatcher } from './EventDispatcher'; | |
| export interface FlyControlsEventMap { | |
| /** | |
| * Fires when the camera has been transformed by the controls. | |
| */ | |
| change: {}; | |
| } | |
| declare class FlyControls extends EventDispatcher<FlyControlsEventMap> { | |
| object: Camera; | |
| domElement: HTMLElement | Document; | |
| movementSpeed: number; | |
| rollSpeed: number; | |
| dragToLook: boolean; | |
| autoForward: boolean; | |
| private changeEvent; | |
| private EPS; | |
| private tmpQuaternion; | |
| private mouseStatus; | |
| private movementSpeedMultiplier; | |
| private moveState; | |
| private moveVector; | |
| private rotationVector; | |
| constructor(object: Camera, domElement?: HTMLElement | Document); | |
| private keydown; | |
| private keyup; | |
| private pointerdown; | |
| private pointermove; | |
| private pointerup; | |
| private lastQuaternion; | |
| private lastPosition; | |
| update: (delta: number) => void; | |
| private updateMovementVector; | |
| private updateRotationVector; | |
| private getContainerDimensions; | |
| connect: (domElement: HTMLElement | Document) => void; | |
| dispose: () => void; | |
| } | |
| export { FlyControls }; | |
Xet Storage Details
- Size:
- 1.15 kB
- Xet hash:
- 6a1177009a58f82c27ab1f73ce37fb4f53c86cebcc70d833631e26a09651fa6d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.