babylonjs-gui 7.3.1 → 7.3.3

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
@@ -946,8 +946,9 @@ declare module BABYLON.GUI {
946
946
  * Serializes the current control
947
947
  * @param serializationObject defined the JSON serialized object
948
948
  * @param force force serialization even if isSerializable === false
949
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
949
950
  */
950
- serialize(serializationObject: any, force?: boolean): void;
951
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
951
952
  /** Releases associated resources */
952
953
  dispose(): void;
953
954
  /**
@@ -1769,8 +1770,9 @@ declare module BABYLON.GUI {
1769
1770
  * Serializes the current control
1770
1771
  * @param serializationObject defined the JSON serialized object
1771
1772
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
1773
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1772
1774
  */
1773
- serialize(serializationObject: any, force?: boolean): void;
1775
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1774
1776
  /**
1775
1777
  * @internal
1776
1778
  */