babylonjs-gui 5.22.0 → 5.22.1

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.
@@ -441,6 +441,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
441
441
  * @param scaleToSize defines whether to scale to texture to the saved size
442
442
  */
443
443
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
444
+ /**
445
+ * Clones the ADT
446
+ * @param newName defines the name of the new ADT
447
+ * @returns the clone of the ADT
448
+ */
449
+ clone(newName?: string): AdvancedDynamicTexture;
444
450
  /**
445
451
  * Recreate the content of the ADT from a JSON object
446
452
  * @param serializedObject define the JSON serialized object to restore from
@@ -8443,6 +8449,12 @@ declare module BABYLON.GUI {
8443
8449
  * @param scaleToSize defines whether to scale to texture to the saved size
8444
8450
  */
8445
8451
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
8452
+ /**
8453
+ * Clones the ADT
8454
+ * @param newName defines the name of the new ADT
8455
+ * @returns the clone of the ADT
8456
+ */
8457
+ clone(newName?: string): AdvancedDynamicTexture;
8446
8458
  /**
8447
8459
  * Recreate the content of the ADT from a JSON object
8448
8460
  * @param serializedObject define the JSON serialized object to restore from
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "5.22.0",
3
+ "version": "5.22.1",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^5.22.0"
17
+ "babylonjs": "^5.22.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",