Skip to content

Commit d2e7c85

Browse files
committed
Nightly
1 parent 071cd30 commit d2e7c85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+258
-248
lines changed

dist/preview release/babylon.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -46800,9 +46800,10 @@ declare module BABYLON {
4680046800
newCanvasCssStyle?: string;
4680146801
/**
4680246802
* Get the default values of the configuration object
46803+
* @param engine defines the engine to use (can be null)
4680346804
* @returns default values of this configuration object
4680446805
*/
46805-
static GetDefaults(): WebXRManagedOutputCanvasOptions;
46806+
static GetDefaults(engine?: ThinEngine): WebXRManagedOutputCanvasOptions;
4680646807
}
4680746808
/**
4680846809
* Creates a canvas that is added/removed from the webpage when entering/exiting XR

dist/preview release/babylon.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/babylon.max.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -191070,14 +191070,15 @@ var WebXRManagedOutputCanvasOptions = /** @class */ (function () {
191070191070
}
191071191071
/**
191072191072
* Get the default values of the configuration object
191073+
* @param engine defines the engine to use (can be null)
191073191074
* @returns default values of this configuration object
191074191075
*/
191075-
WebXRManagedOutputCanvasOptions.GetDefaults = function () {
191076+
WebXRManagedOutputCanvasOptions.GetDefaults = function (engine) {
191076191077
var defaults = new WebXRManagedOutputCanvasOptions();
191077191078
defaults.canvasOptions = {
191078191079
antialias: true,
191079191080
depth: true,
191080-
stencil: false,
191081+
stencil: engine ? engine.isStencilEnable : true,
191081191082
alpha: true,
191082191083
multiview: false,
191083191084
framebufferScaleFactor: 1,
@@ -191352,7 +191353,7 @@ var WebXRSessionManager = /** @class */ (function () {
191352191353
return this._xrNavigator.xr.getWebXRRenderTarget(engine);
191353191354
}
191354191355
else {
191355-
options = options || {};
191356+
options = options || _webXRManagedOutputCanvas__WEBPACK_IMPORTED_MODULE_4__["WebXRManagedOutputCanvasOptions"].GetDefaults(engine);
191356191357
options.canvasElement = engine.getRenderingCanvas() || undefined;
191357191358
return new _webXRManagedOutputCanvas__WEBPACK_IMPORTED_MODULE_4__["WebXRManagedOutputCanvas"](this, options);
191358191359
}

dist/preview release/babylon.max.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/babylon.module.d.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -48542,6 +48542,7 @@ declare module "babylonjs/XR/webXRTypes" {
4854248542
}
4854348543
declare module "babylonjs/XR/webXRManagedOutputCanvas" {
4854448544
import { Nullable } from "babylonjs/types";
48545+
import { ThinEngine } from "babylonjs/Engines/thinEngine";
4854548546
import { WebXRRenderTarget } from "babylonjs/XR/webXRTypes";
4854648547
import { WebXRSessionManager } from "babylonjs/XR/webXRSessionManager";
4854748548
import { Observable } from "babylonjs/Misc/observable";
@@ -48564,9 +48565,10 @@ declare module "babylonjs/XR/webXRManagedOutputCanvas" {
4856448565
newCanvasCssStyle?: string;
4856548566
/**
4856648567
* Get the default values of the configuration object
48568+
* @param engine defines the engine to use (can be null)
4856748569
* @returns default values of this configuration object
4856848570
*/
48569-
static GetDefaults(): WebXRManagedOutputCanvasOptions;
48571+
static GetDefaults(engine?: ThinEngine): WebXRManagedOutputCanvasOptions;
4857048572
}
4857148573
/**
4857248574
* Creates a canvas that is added/removed from the webpage when entering/exiting XR
@@ -126408,9 +126410,10 @@ declare module BABYLON {
126408126410
newCanvasCssStyle?: string;
126409126411
/**
126410126412
* Get the default values of the configuration object
126413+
* @param engine defines the engine to use (can be null)
126411126414
* @returns default values of this configuration object
126412126415
*/
126413-
static GetDefaults(): WebXRManagedOutputCanvasOptions;
126416+
static GetDefaults(engine?: ThinEngine): WebXRManagedOutputCanvasOptions;
126414126417
}
126415126418
/**
126416126419
* Creates a canvas that is added/removed from the webpage when entering/exiting XR

dist/preview release/documentation.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -46800,9 +46800,10 @@ declare module BABYLON {
4680046800
newCanvasCssStyle?: string;
4680146801
/**
4680246802
* Get the default values of the configuration object
46803+
* @param engine defines the engine to use (can be null)
4680346804
* @returns default values of this configuration object
4680446805
*/
46805-
static GetDefaults(): WebXRManagedOutputCanvasOptions;
46806+
static GetDefaults(engine?: ThinEngine): WebXRManagedOutputCanvasOptions;
4680646807
}
4680746808
/**
4680846809
* Creates a canvas that is added/removed from the webpage when entering/exiting XR

dist/preview release/gui/babylon.gui.js

+48-48
Large diffs are not rendered by default.

dist/preview release/gui/babylon.gui.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.cellMaterial.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.cellMaterial.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.customMaterial.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.customMaterial.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.fireMaterial.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.fireMaterial.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.furMaterial.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview release/materialsLibrary/babylon.furMaterial.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)