babylonjs-gui 7.3.1 → 7.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1001,8 +1001,9 @@ export class Container extends Control {
1001
1001
  * Serializes the current control
1002
1002
  * @param serializationObject defined the JSON serialized object
1003
1003
  * @param force force serialization even if isSerializable === false
1004
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1004
1005
  */
1005
- serialize(serializationObject: any, force?: boolean): void;
1006
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1006
1007
  /** Releases associated resources */
1007
1008
  dispose(): void;
1008
1009
  /**
@@ -1842,8 +1843,9 @@ export class Control implements IAnimatable {
1842
1843
  * Serializes the current control
1843
1844
  * @param serializationObject defined the JSON serialized object
1844
1845
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
1846
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1845
1847
  */
1846
- serialize(serializationObject: any, force?: boolean): void;
1848
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1847
1849
  /**
1848
1850
  * @internal
1849
1851
  */
@@ -9799,8 +9801,9 @@ declare module BABYLON.GUI {
9799
9801
  * Serializes the current control
9800
9802
  * @param serializationObject defined the JSON serialized object
9801
9803
  * @param force force serialization even if isSerializable === false
9804
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
9802
9805
  */
9803
- serialize(serializationObject: any, force?: boolean): void;
9806
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
9804
9807
  /** Releases associated resources */
9805
9808
  dispose(): void;
9806
9809
  /**
@@ -10622,8 +10625,9 @@ declare module BABYLON.GUI {
10622
10625
  * Serializes the current control
10623
10626
  * @param serializationObject defined the JSON serialized object
10624
10627
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
10628
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
10625
10629
  */
10626
- serialize(serializationObject: any, force?: boolean): void;
10630
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
10627
10631
  /**
10628
10632
  * @internal
10629
10633
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "7.3.1",
3
+ "version": "7.3.3",
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": "^7.3.1"
18
+ "babylonjs": "^7.3.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",