|
@@ -38292,6 +38292,10 @@ declare module "babylonjs/Cameras/deviceOrientationCamera" {
|
|
|
* @param scene The scene the camera belongs to
|
|
|
*/
|
|
|
constructor(name: string, position: Vector3, scene: Scene);
|
|
|
+ /**
|
|
|
+ * Disabled pointer input on first orientation sensor update (Default: true)
|
|
|
+ */
|
|
|
+ disablePointerInputWhenUsingDeviceOrientation: boolean;
|
|
|
private _dragFactor;
|
|
|
/**
|
|
|
* Enabled turning on the y axis when the orientation sensor is active
|
|
@@ -57341,7 +57345,7 @@ declare module "babylonjs/Misc/assetsManager" {
|
|
|
* @param onSuccess is a callback called when the task is successfully executed
|
|
|
* @param onError is a callback called if an error occurs
|
|
|
*/
|
|
|
- run(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void): void;
|
|
|
+ runTask(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void): void;
|
|
|
}
|
|
|
/**
|
|
|
* This class can be used to easily import assets into a scene
|
|
@@ -96208,6 +96212,10 @@ declare module BABYLON {
|
|
|
* @param scene The scene the camera belongs to
|
|
|
*/
|
|
|
constructor(name: string, position: Vector3, scene: Scene);
|
|
|
+ /**
|
|
|
+ * Disabled pointer input on first orientation sensor update (Default: true)
|
|
|
+ */
|
|
|
+ disablePointerInputWhenUsingDeviceOrientation: boolean;
|
|
|
private _dragFactor;
|
|
|
/**
|
|
|
* Enabled turning on the y axis when the orientation sensor is active
|
|
@@ -113685,7 +113693,7 @@ declare module BABYLON {
|
|
|
* @param onSuccess is a callback called when the task is successfully executed
|
|
|
* @param onError is a callback called if an error occurs
|
|
|
*/
|
|
|
- run(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void): void;
|
|
|
+ runTask(scene: Scene, onSuccess: () => void, onError: (message?: string, exception?: any) => void): void;
|
|
|
}
|
|
|
/**
|
|
|
* This class can be used to easily import assets into a scene
|