1234567891011121314151617 |
- module BABYLON {
- // We're mainly based on the logic defined into the FreeCamera code
- export class GamepadCamera extends UniversalCamera {
- constructor(name: string, position: Vector3, scene: Scene) {
- Tools.Warn("Deprecated. Please use Universal Camera instead.");
- super(name, position, scene);
- }
- public serialize(): any {
- var serializationObject = super.serialize();
- serializationObject.type = "GamepadCamera";
- return serializationObject;
- }
- }
- }
|