babylonjs-gui 6.46.0 → 6.46.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.
- package/babylon.gui.d.ts +3 -2
- package/babylon.gui.js +16 -4
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +6 -4
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -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.
|
3
|
+
"version": "6.46.1",
|
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.
|
18
|
+
"babylonjs": "^6.46.1"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|