babylonjs-gui 7.3.2 → 7.4.0

Sign up to get free protection for your applications and to get access to all the features.
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
  /**