babylonjs-gui 8.6.0 → 8.6.2

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 CHANGED
@@ -4913,8 +4913,9 @@ declare module BABYLON.GUI {
4913
4913
  * Serializes the current control
4914
4914
  * @param serializationObject defined the JSON serialized object
4915
4915
  * @param force force serialization even if isSerializable === false
4916
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
4916
4917
  */
4917
- serialize(serializationObject: any, force: boolean): void;
4918
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
4918
4919
  /**
4919
4920
  * @internal
4920
4921
  */
@@ -6080,8 +6081,9 @@ declare module BABYLON.GUI {
6080
6081
  * Serializes the current control
6081
6082
  * @param serializationObject defined the JSON serialized object
6082
6083
  * @param force force serialization even if isSerializable === false
6084
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
6083
6085
  */
6084
- serialize(serializationObject: any, force: boolean): void;
6086
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
6085
6087
  /**
6086
6088
  * @internal
6087
6089
  */
@@ -7525,8 +7527,9 @@ declare module BABYLON.GUI {
7525
7527
  * Serializes the current button
7526
7528
  * @param serializationObject defines the JSON serialized object
7527
7529
  * @param force force serialization even if isSerializable === false
7530
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize
7528
7531
  */
7529
- serialize(serializationObject: any, force: boolean): void;
7532
+ serialize(serializationObject: any, force: boolean, allowCanvas: boolean): void;
7530
7533
  /**
7531
7534
  * @internal
7532
7535
  */