Spaces:
Running
Running
| import { Camera } from "../cameras/Camera"; | |
| import { Vector3 } from "../math/Vector3"; | |
| declare class OrbitControls { | |
| minAngle: number; | |
| maxAngle: number; | |
| minAzimuth: number; | |
| maxAzimuth: number; | |
| minZoom: number; | |
| maxZoom: number; | |
| orbitSpeed: number; | |
| panSpeed: number; | |
| zoomSpeed: number; | |
| dampening: number; | |
| setCameraTarget: (newTarget: Vector3) => void; | |
| update: () => void; | |
| dispose: () => void; | |
| /** | |
| * @param camera the camera to control. | |
| * @param canvas the element to attach events. | |
| * @param alpha initial horizontal angle (in radians). | |
| * @param beta initial vertical angle (in radians). | |
| * @param radius initial distance from the target. | |
| * @param enableKeyboardControls whether to listen to keyboard events. | |
| * @param inputTarget the point to orbit around. | |
| */ | |
| constructor(camera: Camera, canvas: HTMLElement, alpha?: number, beta?: number, radius?: number, enableKeyboardControls?: boolean, inputTarget?: Vector3, initAlpha?: number, initBeta?: number, initRadius?: number); | |
| } | |
| export { OrbitControls }; | |