David `Deltakosh` Catuhe 4 jaren geleden
bovenliggende
commit
685fcde4c4

+ 22 - 7
dist/preview release/babylon.d.ts

@@ -57973,16 +57973,30 @@ declare module BABYLON {
 declare module BABYLON {
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -57992,9 +58006,11 @@ declare module BABYLON {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -58008,7 +58024,6 @@ declare module BABYLON {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module BABYLON {
     /**
@@ -64414,7 +64429,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -65063,7 +65078,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.js


File diff suppressed because it is too large
+ 43 - 21
dist/preview release/babylon.max.js


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.max.js.map


+ 44 - 14
dist/preview release/babylon.module.d.ts

@@ -60546,16 +60546,30 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
     import { ThinEngine } from "babylonjs/Engines/thinEngine";
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -60565,9 +60579,11 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -60581,7 +60597,6 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module "babylonjs/Materials/Textures/Loaders/ktxTextureLoader" {
     import { Nullable } from "babylonjs/types";
@@ -67647,7 +67662,7 @@ declare module "babylonjs/Materials/Node/Blocks/PBR/ambientOcclusionBlock" {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -68357,7 +68372,7 @@ declare module "babylonjs/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock" {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */
@@ -138265,16 +138280,30 @@ declare module BABYLON {
 declare module BABYLON {
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -138284,9 +138313,11 @@ declare module BABYLON {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -138300,7 +138331,6 @@ declare module BABYLON {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module BABYLON {
     /**
@@ -144706,7 +144736,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -145355,7 +145385,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */

+ 24 - 7
dist/preview release/documentation.d.ts

@@ -57973,16 +57973,30 @@ declare module BABYLON {
 declare module BABYLON {
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -57992,9 +58006,11 @@ declare module BABYLON {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -58008,7 +58024,6 @@ declare module BABYLON {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module BABYLON {
     /**
@@ -64414,7 +64429,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -65063,7 +65078,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */
@@ -79599,6 +79614,8 @@ declare module BABYLON.GUI {
         /** an array of SelectionGroups */
         groups?: SelectorGroup[]);
         protected _getTypeName(): string;
+        /** Gets the (stack) panel of the SelectionPanel  */
+        get panel(): StackPanel;
         /** Gets or sets the headerColor */
         get headerColor(): string;
         set headerColor(color: string);

+ 2 - 0
dist/preview release/gui/babylon.gui.d.ts

@@ -2868,6 +2868,8 @@ declare module BABYLON.GUI {
         /** an array of SelectionGroups */
         groups?: SelectorGroup[]);
         protected _getTypeName(): string;
+        /** Gets the (stack) panel of the SelectionPanel  */
+        get panel(): StackPanel;
         /** Gets or sets the headerColor */
         get headerColor(): string;
         set headerColor(color: string);

+ 8 - 0
dist/preview release/gui/babylon.gui.js

@@ -10699,6 +10699,14 @@ var SelectionPanel = /** @class */ (function (_super) {
     SelectionPanel.prototype._getTypeName = function () {
         return "SelectionPanel";
     };
+    Object.defineProperty(SelectionPanel.prototype, "panel", {
+        /** Gets the (stack) panel of the SelectionPanel  */
+        get: function () {
+            return this._panel;
+        },
+        enumerable: false,
+        configurable: true
+    });
     Object.defineProperty(SelectionPanel.prototype, "headerColor", {
         /** Gets or sets the headerColor */
         get: function () {

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/gui/babylon.gui.js.map


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js


+ 4 - 0
dist/preview release/gui/babylon.gui.module.d.ts

@@ -2979,6 +2979,8 @@ declare module "babylonjs-gui/2D/controls/selector" {
         /** an array of SelectionGroups */
         groups?: SelectorGroup[]);
         protected _getTypeName(): string;
+        /** Gets the (stack) panel of the SelectionPanel  */
+        get panel(): StackPanel;
         /** Gets or sets the headerColor */
         get headerColor(): string;
         set headerColor(color: string);
@@ -7292,6 +7294,8 @@ declare module BABYLON.GUI {
         /** an array of SelectionGroups */
         groups?: SelectorGroup[]);
         protected _getTypeName(): string;
+        /** Gets the (stack) panel of the SelectionPanel  */
+        get panel(): StackPanel;
         /** Gets or sets the headerColor */
         get headerColor(): string;
         set headerColor(color: string);

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js


+ 8 - 8
dist/preview release/inspector/babylon.inspector.bundle.max.js

@@ -7,7 +7,7 @@
 		exports["babylonjs-inspector"] = factory(require("babylonjs-gui"), require("babylonjs-loaders"), require("babylonjs-materials"), require("babylonjs-serializers"), require("babylonjs"));
 	else
 		root["INSPECTOR"] = factory(root["BABYLON"]["GUI"], root["BABYLON"], root["BABYLON"], root["BABYLON"], root["BABYLON"]);
-})((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), function(__WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_image__, __WEBPACK_EXTERNAL_MODULE_babylonjs_loaders_glTF_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_materials_grid_gridMaterial__, __WEBPACK_EXTERNAL_MODULE_babylonjs_serializers_glTF_2_0_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_Misc_observable__) {
+})((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), function(__WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_control__, __WEBPACK_EXTERNAL_MODULE_babylonjs_loaders_glTF_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_materials_grid_gridMaterial__, __WEBPACK_EXTERNAL_MODULE_babylonjs_serializers_glTF_2_0_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_Misc_observable__) {
 return /******/ (function(modules) { // webpackBootstrap
 /******/ 	// The module cache
 /******/ 	var installedModules = {};
@@ -67862,7 +67862,7 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
 /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
 /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
-/* harmony import */ var babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/control */ "babylonjs-gui/2D/controls/image");
+/* harmony import */ var babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/control */ "babylonjs-gui/2D/controls/control");
 /* harmony import */ var babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__);
 /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
 /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
@@ -68168,7 +68168,7 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
 /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
 /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
-/* harmony import */ var babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/image */ "babylonjs-gui/2D/controls/image");
+/* harmony import */ var babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/image */ "babylonjs-gui/2D/controls/control");
 /* harmony import */ var babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__);
 /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
 /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
@@ -68582,7 +68582,7 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
 /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
-/* harmony import */ var babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs-gui/2D/controls/textBlock */ "babylonjs-gui/2D/controls/image");
+/* harmony import */ var babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs-gui/2D/controls/textBlock */ "babylonjs-gui/2D/controls/control");
 /* harmony import */ var babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__);
 /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
 /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
@@ -70075,7 +70075,7 @@ __webpack_require__.r(__webpack_exports__);
 /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
 /* harmony import */ var _lines_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../lines/fileButtonLineComponent */ "./components/actionTabs/lines/fileButtonLineComponent.tsx");
 /* harmony import */ var _lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../lines/valueLineComponent */ "./components/actionTabs/lines/valueLineComponent.tsx");
-/* harmony import */ var babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! babylonjs-gui/2D/adtInstrumentation */ "babylonjs-gui/2D/controls/image");
+/* harmony import */ var babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! babylonjs-gui/2D/adtInstrumentation */ "babylonjs-gui/2D/controls/control");
 /* harmony import */ var babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__);
 /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
 /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
@@ -72567,7 +72567,7 @@ var MeshPropertyGridComponent = /** @class */ (function (_super) {
             };
         });
         materialOptions.splice(0, 0, {
-            label: "None",
+            label: "None (Default Fallback)",
             value: -1
         });
         return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
@@ -79398,14 +79398,14 @@ var Tools = /** @class */ (function () {
 
 /***/ }),
 
-/***/ "babylonjs-gui/2D/controls/image":
+/***/ "babylonjs-gui/2D/controls/control":
 /*!************************************************************************************************************************!*\
   !*** external {"root":["BABYLON","GUI"],"commonjs":"babylonjs-gui","commonjs2":"babylonjs-gui","amd":"babylonjs-gui"} ***!
   \************************************************************************************************************************/
 /*! no static exports found */
 /***/ (function(module, exports) {
 
-module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_image__;
+module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_control__;
 
 /***/ }),
 

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.max.js.map


+ 44 - 14
dist/preview release/viewer/babylon.module.d.ts

@@ -60546,16 +60546,30 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
     import { ThinEngine } from "babylonjs/Engines/thinEngine";
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -60565,9 +60579,11 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -60581,7 +60597,6 @@ declare module "babylonjs/Misc/khronosTextureContainer2" {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module "babylonjs/Materials/Textures/Loaders/ktxTextureLoader" {
     import { Nullable } from "babylonjs/types";
@@ -67647,7 +67662,7 @@ declare module "babylonjs/Materials/Node/Blocks/PBR/ambientOcclusionBlock" {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -68357,7 +68372,7 @@ declare module "babylonjs/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock" {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */
@@ -138265,16 +138280,30 @@ declare module BABYLON {
 declare module BABYLON {
     /**
      * Class for loading KTX2 files
-     * @hidden
      */
     export class KhronosTextureContainer2 {
         private static _WorkerPoolPromise?;
         private static _Initialized;
         private static _Ktx2Decoder;
         /**
-         * URL to use when loading the KTX2 decoder module
-         */
-        static JSModuleURL: string;
+         * URLs to use when loading the KTX2 decoder module as well as its dependencies
+         * If a url is null, the default url is used (pointing to https://preview.babylonjs.com)
+         * Note that jsDecoderModule can't be null and that the other dependencies will only be loaded if necessary
+         * Urls you can change:
+         *     URLConfig.jsDecoderModule
+         *     URLConfig.wasmUASTCToASTC
+         *     URLConfig.wasmUASTCToBC7
+         *     URLConfig.jsMSCTranscoder
+         *     URLConfig.wasmMSCTranscoder
+         * You can see their default values in this PG: https://playground.babylonjs.com/#EIJH8L#9
+         */
+        static URLConfig: {
+            jsDecoderModule: string;
+            wasmUASTCToASTC: null;
+            wasmUASTCToBC7: null;
+            jsMSCTranscoder: null;
+            wasmMSCTranscoder: null;
+        };
         /**
          * Default number of workers used to handle data decoding
          */
@@ -138284,9 +138313,11 @@ declare module BABYLON {
         private static _CreateWorkerPool;
         /**
          * Constructor
+         * @param engine The engine to use
          * @param numWorkers The number of workers for async operations. Specify `0` to disable web workers and run synchronously in the current context.
          */
         constructor(engine: ThinEngine, numWorkers?: number);
+        /** @hidden */
         uploadAsync(data: ArrayBufferView, internalTexture: InternalTexture): Promise<void>;
         /**
          * Stop all async operations and release resources.
@@ -138300,7 +138331,6 @@ declare module BABYLON {
          */
         static IsValid(data: ArrayBufferView): boolean;
     }
-    export function workerFunc(): void;
 }
 declare module BABYLON {
     /**
@@ -144706,7 +144736,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object output component
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the main code of the block (fragment side)
          * @param block instance of an AmbientOcclusionBlock or null if the code must be generated without an active ambient occlusion module
@@ -145355,7 +145385,7 @@ declare module BABYLON {
         /**
          * Gets the ambient occlusion object parameters
          */
-        get ambientOcclusion(): NodeMaterialConnectionPoint;
+        get ambientOcc(): NodeMaterialConnectionPoint;
         /**
          * Gets the reflection object parameters
          */

File diff suppressed because it is too large
+ 7 - 7
dist/preview release/viewer/babylon.viewer.js


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js


+ 1 - 1
inspector/src/components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx

@@ -375,7 +375,7 @@ export class MeshPropertyGridComponent extends React.Component<IMeshPropertyGrid
             };});
 
         materialOptions.splice(0, 0, {
-            label: "None",
+            label: "None (Default Fallback)",
             value: -1
         });