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.
- package/babylon.gui.d.ts +4 -2
- package/babylon.gui.js +12 -6
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +8 -4
- package/package.json +2 -2
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
|
*/
|