babylonjs-gui 8.6.1 → 8.7.0

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.
@@ -5397,8 +5397,9 @@ export class StackPanel extends Container {
5397
5397
  * Serializes the current control
5398
5398
  * @param serializationObject defined the JSON serialized object
5399
5399
  * @param force force serialization even if isSerializable === false
5400
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
5400
5401
  */
5401
- serialize(serializationObject: any, force: boolean): void;
5402
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
5402
5403
  /**
5403
5404
  * @internal
5404
5405
  */
@@ -6666,8 +6667,9 @@ export class Grid extends Container {
6666
6667
  * Serializes the current control
6667
6668
  * @param serializationObject defined the JSON serialized object
6668
6669
  * @param force force serialization even if isSerializable === false
6670
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
6669
6671
  */
6670
- serialize(serializationObject: any, force: boolean): void;
6672
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
6671
6673
  /**
6672
6674
  * @internal
6673
6675
  */
@@ -8185,8 +8187,9 @@ export class Button extends Rectangle {
8185
8187
  * Serializes the current button
8186
8188
  * @param serializationObject defines the JSON serialized object
8187
8189
  * @param force force serialization even if isSerializable === false
8190
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
8188
8191
  */
8189
- serialize(serializationObject: any, force: boolean): void;
8192
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
8190
8193
  /**
8191
8194
  * @internal
8192
8195
  */
@@ -13947,8 +13950,9 @@ declare module BABYLON.GUI {
13947
13950
  * Serializes the current control
13948
13951
  * @param serializationObject defined the JSON serialized object
13949
13952
  * @param force force serialization even if isSerializable === false
13953
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
13950
13954
  */
13951
- serialize(serializationObject: any, force: boolean): void;
13955
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
13952
13956
  /**
13953
13957
  * @internal
13954
13958
  */
@@ -15114,8 +15118,9 @@ declare module BABYLON.GUI {
15114
15118
  * Serializes the current control
15115
15119
  * @param serializationObject defined the JSON serialized object
15116
15120
  * @param force force serialization even if isSerializable === false
15121
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
15117
15122
  */
15118
- serialize(serializationObject: any, force: boolean): void;
15123
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
15119
15124
  /**
15120
15125
  * @internal
15121
15126
  */
@@ -16559,8 +16564,9 @@ declare module BABYLON.GUI {
16559
16564
  * Serializes the current button
16560
16565
  * @param serializationObject defines the JSON serialized object
16561
16566
  * @param force force serialization even if isSerializable === false
16567
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
16562
16568
  */
16563
- serialize(serializationObject: any, force: boolean): void;
16569
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
16564
16570
  /**
16565
16571
  * @internal
16566
16572
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "8.6.1",
3
+ "version": "8.7.0",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "test:escheck": "es-check es6 ./babylon.gui.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.6.1"
18
+ "babylonjs": "^8.7.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",