babylonjs-gui 7.3.1 → 7.3.2

Sign up to get free protection for your applications and to get access to all the features.
package/babylon.gui.d.ts CHANGED
@@ -1769,8 +1769,9 @@ declare module BABYLON.GUI {
1769
1769
  * Serializes the current control
1770
1770
  * @param serializationObject defined the JSON serialized object
1771
1771
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
1772
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1772
1773
  */
1773
- serialize(serializationObject: any, force?: boolean): void;
1774
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1774
1775
  /**
1775
1776
  * @internal
1776
1777
  */