UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

35 lines (34 loc) 1.25 kB
import { CameraInputsManager } from "./cameraInputsManager.js"; import type { FollowCamera } from "./followCamera.js"; /** * Default Inputs manager for the FollowCamera. * It groups all the default supported inputs for ease of use. * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs */ export declare class FollowCameraInputsManager extends CameraInputsManager<FollowCamera> { /** * Instantiates a new FollowCameraInputsManager. * @param camera Defines the camera the inputs belong to */ constructor(camera: FollowCamera); /** * Add keyboard input support to the input manager. * @returns the current input manager */ addKeyboard(): FollowCameraInputsManager; /** * Add mouse wheel input support to the input manager. * @returns the current input manager */ addMouseWheel(): FollowCameraInputsManager; /** * Add pointers input support to the input manager. * @returns the current input manager */ addPointers(): FollowCameraInputsManager; /** * Add orientation input support to the input manager. * @returns the current input manager */ addVRDeviceOrientation(): FollowCameraInputsManager; }