12345678910111213141516171819202122232425 |
- import { UniversalCamera } from "./universalCamera";
- import type { Scene } from "../scene";
- import { Vector3 } from "../Maths/math.vector";
- /**
- * This represents a FPS type of camera. This is only here for back compat purpose.
- * Please use the UniversalCamera instead as both are identical.
- * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#universal-camera
- */
- export declare class GamepadCamera extends UniversalCamera {
- /**
- * Instantiates a new Gamepad Camera
- * This represents a FPS type of camera. This is only here for back compat purpose.
- * Please use the UniversalCamera instead as both are identical.
- * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#universal-camera
- * @param name Define the name of the camera in the scene
- * @param position Define the start position of the camera in the scene
- * @param scene Define the scene the camera belongs to
- */
- constructor(name: string, position: Vector3, scene?: Scene);
- /**
- * Gets the current object class name.
- * @returns the class name
- */
- getClassName(): string;
- }
|