babylonjs-gui 6.46.0 → 6.46.1

Sign up to get free protection for your applications and to get access to all the features.
package/babylon.gui.d.ts CHANGED
@@ -435,11 +435,12 @@ declare module BABYLON.GUI {
435
435
  */
436
436
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
437
437
  /**
438
- * Clones the ADT
438
+ * Clones the ADT. If no mesh is defined, the GUI will be considered as a fullscreen GUI
439
439
  * @param newName defines the name of the new ADT
440
+ * @param attachToMesh defines if the new ADT should be attached to a mesh
440
441
  * @returns the clone of the ADT
441
442
  */
442
- clone(newName?: string): AdvancedDynamicTexture;
443
+ clone(newName?: string, attachToMesh?: BABYLON.AbstractMesh): AdvancedDynamicTexture;
443
444
  /**
444
445
  * Recreate the content of the ADT from a JSON object
445
446
  * @param serializedObject define the JSON serialized object to restore from