babylon.vrDeviceOrientationCamera.d.ts 323 B

123456789
  1. declare module BABYLON {
  2. class VRDeviceOrientationCamera extends OculusCamera {
  3. public _alpha: number;
  4. public _beta: number;
  5. public _gamma: number;
  6. constructor(name: string, position: Vector3, scene: Scene);
  7. public _onOrientationEvent(evt: DeviceOrientationEvent): void;
  8. }
  9. }