babylonjs-gui 9.31.3 → 9.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.gui.d.ts +6 -2
- package/babylon.gui.es5.js +15 -7
- package/babylon.gui.js +1 -1
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +12 -4
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -4724,8 +4724,10 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
4724
4724
|
/** @internal */
|
|
4725
4725
|
_isFullscreen: boolean;
|
|
4726
4726
|
private _fullscreenViewport;
|
|
4727
|
-
|
|
4728
|
-
|
|
4727
|
+
/** @internal */
|
|
4728
|
+
_idealWidth: number;
|
|
4729
|
+
/** @internal */
|
|
4730
|
+
_idealHeight: number;
|
|
4729
4731
|
private _useSmallestIdeal;
|
|
4730
4732
|
private _renderAtIdealSize;
|
|
4731
4733
|
private _focusedControl;
|
|
@@ -8438,6 +8440,7 @@ export class Control implements IAnimatable, IFocusableControl {
|
|
|
8438
8440
|
*/
|
|
8439
8441
|
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8440
8442
|
private _getStyleProperty;
|
|
8443
|
+
private _getFont;
|
|
8441
8444
|
private _prepareFont;
|
|
8442
8445
|
/**
|
|
8443
8446
|
* A control has a dimension fully defined if that dimension doesn't depend on the parent's dimension.
|
|
@@ -8468,6 +8471,7 @@ export class Control implements IAnimatable, IFocusableControl {
|
|
|
8468
8471
|
parse(serializedObject: any, host?: AdvancedDynamicTexture, urlRewriter?: (url: string) => string): Control;
|
|
8469
8472
|
/**
|
|
8470
8473
|
* Serializes the current control
|
|
8474
|
+
* Preserves the live layout and cached font metrics when adaptive scaling is enabled.
|
|
8471
8475
|
* @param serializationObject defined the JSON serialized object
|
|
8472
8476
|
* @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
|
|
8473
8477
|
* @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
|
|
@@ -14159,8 +14163,10 @@ declare namespace BABYLON.GUI {
|
|
|
14159
14163
|
/** @internal */
|
|
14160
14164
|
_isFullscreen: boolean;
|
|
14161
14165
|
private _fullscreenViewport;
|
|
14162
|
-
|
|
14163
|
-
|
|
14166
|
+
/** @internal */
|
|
14167
|
+
_idealWidth: number;
|
|
14168
|
+
/** @internal */
|
|
14169
|
+
_idealHeight: number;
|
|
14164
14170
|
private _useSmallestIdeal;
|
|
14165
14171
|
private _renderAtIdealSize;
|
|
14166
14172
|
private _focusedControl;
|
|
@@ -17621,6 +17627,7 @@ declare namespace BABYLON.GUI {
|
|
|
17621
17627
|
*/
|
|
17622
17628
|
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
17623
17629
|
private _getStyleProperty;
|
|
17630
|
+
private _getFont;
|
|
17624
17631
|
private _prepareFont;
|
|
17625
17632
|
/**
|
|
17626
17633
|
* A control has a dimension fully defined if that dimension doesn't depend on the parent's dimension.
|
|
@@ -17651,6 +17658,7 @@ declare namespace BABYLON.GUI {
|
|
|
17651
17658
|
parse(serializedObject: any, host?: AdvancedDynamicTexture, urlRewriter?: (url: string) => string): Control;
|
|
17652
17659
|
/**
|
|
17653
17660
|
* Serializes the current control
|
|
17661
|
+
* Preserves the live layout and cached font metrics when adaptive scaling is enabled.
|
|
17654
17662
|
* @param serializationObject defined the JSON serialized object
|
|
17655
17663
|
* @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
|
|
17656
17664
|
* @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.32.1",
|
|
4
4
|
"main": "babylon.gui.min.js",
|
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test:escheck": "node ../../../../scripts/checkEcmaVersion.mjs es6 ./babylon.gui.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"babylonjs": "9.
|
|
19
|
+
"babylonjs": "9.32.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|