|
@@ -43130,6 +43130,7 @@ declare module "babylonjs/Cameras/XR/webXRSessionManager" {
|
|
|
/**
|
|
|
* Initializes an xr session
|
|
|
* @param xrSessionMode mode to initialize
|
|
|
+ * @param optionalFeatures defines optional values to pass to the session builder
|
|
|
* @returns a promise which will resolve once the session has been initialized
|
|
|
*/
|
|
|
initializeSessionAsync(xrSessionMode: XRSessionMode, optionalFeatures?: any): any;
|
|
@@ -43268,7 +43269,7 @@ declare module "babylonjs/Cameras/XR/webXRExperienceHelper" {
|
|
|
exitXRAsync(): Promise<void>;
|
|
|
/**
|
|
|
* Enters XR mode (This must be done within a user interaction in most browsers eg. button click)
|
|
|
- * @param sessionCreationOptions options for the XR session
|
|
|
+ * @param sessionMode options for the XR session
|
|
|
* @param referenceSpaceType frame of reference of the XR session
|
|
|
* @param renderTarget the output canvas that will be used to enter XR mode
|
|
|
* @returns promise that resolves after xr mode has entered
|
|
@@ -109354,6 +109355,7 @@ declare module BABYLON {
|
|
|
/**
|
|
|
* Initializes an xr session
|
|
|
* @param xrSessionMode mode to initialize
|
|
|
+ * @param optionalFeatures defines optional values to pass to the session builder
|
|
|
* @returns a promise which will resolve once the session has been initialized
|
|
|
*/
|
|
|
initializeSessionAsync(xrSessionMode: XRSessionMode, optionalFeatures?: any): any;
|
|
@@ -109482,7 +109484,7 @@ declare module BABYLON {
|
|
|
exitXRAsync(): Promise<void>;
|
|
|
/**
|
|
|
* Enters XR mode (This must be done within a user interaction in most browsers eg. button click)
|
|
|
- * @param sessionCreationOptions options for the XR session
|
|
|
+ * @param sessionMode options for the XR session
|
|
|
* @param referenceSpaceType frame of reference of the XR session
|
|
|
* @param renderTarget the output canvas that will be used to enter XR mode
|
|
|
* @returns promise that resolves after xr mode has entered
|