gamepadCamera.d.ts 1.1 KB

12345678910111213141516171819202122232425
  1. import { UniversalCamera } from "./universalCamera";
  2. import type { Scene } from "../scene";
  3. import { Vector3 } from "../Maths/math.vector";
  4. /**
  5. * This represents a FPS type of camera. This is only here for back compat purpose.
  6. * Please use the UniversalCamera instead as both are identical.
  7. * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#universal-camera
  8. */
  9. export declare class GamepadCamera extends UniversalCamera {
  10. /**
  11. * Instantiates a new Gamepad Camera
  12. * This represents a FPS type of camera. This is only here for back compat purpose.
  13. * Please use the UniversalCamera instead as both are identical.
  14. * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#universal-camera
  15. * @param name Define the name of the camera in the scene
  16. * @param position Define the start position of the camera in the scene
  17. * @param scene Define the scene the camera belongs to
  18. */
  19. constructor(name: string, position: Vector3, scene?: Scene);
  20. /**
  21. * Gets the current object class name.
  22. * @returns the class name
  23. */
  24. getClassName(): string;
  25. }