babylonjs-gui 6.46.0 → 6.47.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -454,11 +454,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
454
454
  */
455
455
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
456
456
  /**
457
- * Clones the ADT
457
+ * Clones the ADT. If no mesh is defined, the GUI will be considered as a fullscreen GUI
458
458
  * @param newName defines the name of the new ADT
459
+ * @param attachToMesh defines if the new ADT should be attached to a mesh
459
460
  * @returns the clone of the ADT
460
461
  */
461
- clone(newName?: string): AdvancedDynamicTexture;
462
+ clone(newName?: string, attachToMesh?: AbstractMesh): AdvancedDynamicTexture;
462
463
  /**
463
464
  * Recreate the content of the ADT from a JSON object
464
465
  * @param serializedObject define the JSON serialized object to restore from
@@ -9275,11 +9276,12 @@ declare module BABYLON.GUI {
9275
9276
  */
9276
9277
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
9277
9278
  /**
9278
- * Clones the ADT
9279
+ * Clones the ADT. If no mesh is defined, the GUI will be considered as a fullscreen GUI
9279
9280
  * @param newName defines the name of the new ADT
9281
+ * @param attachToMesh defines if the new ADT should be attached to a mesh
9280
9282
  * @returns the clone of the ADT
9281
9283
  */
9282
- clone(newName?: string): AdvancedDynamicTexture;
9284
+ clone(newName?: string, attachToMesh?: BABYLON.AbstractMesh): AdvancedDynamicTexture;
9283
9285
  /**
9284
9286
  * Recreate the content of the ADT from a JSON object
9285
9287
  * @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": "6.46.0",
3
+ "version": "6.47.0",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "test:escheck": "es-check es6 ./babylon.gui.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^6.46.0"
18
+ "babylonjs": "^6.47.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",