followCameraInputsManager.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { CameraInputsManager } from "./cameraInputsManager";
  2. import type { FollowCamera } from "./followCamera";
  3. /**
  4. * Default Inputs manager for the FollowCamera.
  5. * It groups all the default supported inputs for ease of use.
  6. * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs
  7. */
  8. export declare class FollowCameraInputsManager extends CameraInputsManager<FollowCamera> {
  9. /**
  10. * Instantiates a new FollowCameraInputsManager.
  11. * @param camera Defines the camera the inputs belong to
  12. */
  13. constructor(camera: FollowCamera);
  14. /**
  15. * Add keyboard input support to the input manager.
  16. * @returns the current input manager
  17. */
  18. addKeyboard(): FollowCameraInputsManager;
  19. /**
  20. * Add mouse wheel input support to the input manager.
  21. * @returns the current input manager
  22. */
  23. addMouseWheel(): FollowCameraInputsManager;
  24. /**
  25. * Add pointers input support to the input manager.
  26. * @returns the current input manager
  27. */
  28. addPointers(): FollowCameraInputsManager;
  29. /**
  30. * Add orientation input support to the input manager.
  31. * @returns the current input manager
  32. */
  33. addVRDeviceOrientation(): FollowCameraInputsManager;
  34. }