babylon.deviceOrientationCamera.d.ts 703 B

123456789101112131415161718
  1. declare module BABYLON {
  2. class DeviceOrientationCamera extends FreeCamera {
  3. private _offsetX;
  4. private _offsetY;
  5. private _orientationGamma;
  6. private _orientationBeta;
  7. private _initialOrientationGamma;
  8. private _initialOrientationBeta;
  9. private _attachedCanvas;
  10. private _orientationChanged;
  11. public angularSensibility: number;
  12. public moveSensibility: number;
  13. constructor(name: string, position: Vector3, scene: Scene);
  14. public attachControl(canvas: HTMLCanvasElement, noPreventDefault: boolean): void;
  15. public detachControl(canvas: HTMLCanvasElement): void;
  16. public _checkInputs(): void;
  17. }
  18. }