babylonjs-gui 5.21.0 → 5.23.0
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 +12 -0
- package/babylon.gui.js +68 -1
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +24 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -409,6 +409,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
409
409
|
* Unregister the clipboard Events from the canvas
|
|
410
410
|
*/
|
|
411
411
|
unRegisterClipboardEvents(): void;
|
|
412
|
+
/**
|
|
413
|
+
* Transform uvs from mesh space to texture space, taking the texture into account
|
|
414
|
+
* @param uv the uvs in mesh space
|
|
415
|
+
* @returns the uvs in texture space
|
|
416
|
+
*/
|
|
417
|
+
private _transformUvs;
|
|
412
418
|
/**
|
|
413
419
|
* Connect the texture to a hosting mesh to enable interactions
|
|
414
420
|
* @param mesh defines the mesh to attach to
|
|
@@ -435,6 +441,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
435
441
|
* @param scaleToSize defines whether to scale to texture to the saved size
|
|
436
442
|
*/
|
|
437
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;
|
|
438
450
|
/**
|
|
439
451
|
* Recreate the content of the ADT from a JSON object
|
|
440
452
|
* @param serializedObject define the JSON serialized object to restore from
|
|
@@ -8405,6 +8417,12 @@ declare module BABYLON.GUI {
|
|
|
8405
8417
|
* Unregister the clipboard Events from the canvas
|
|
8406
8418
|
*/
|
|
8407
8419
|
unRegisterClipboardEvents(): void;
|
|
8420
|
+
/**
|
|
8421
|
+
* Transform uvs from mesh space to texture space, taking the texture into account
|
|
8422
|
+
* @param uv the uvs in mesh space
|
|
8423
|
+
* @returns the uvs in texture space
|
|
8424
|
+
*/
|
|
8425
|
+
private _transformUvs;
|
|
8408
8426
|
/**
|
|
8409
8427
|
* Connect the texture to a hosting mesh to enable interactions
|
|
8410
8428
|
* @param mesh defines the mesh to attach to
|
|
@@ -8431,6 +8449,12 @@ declare module BABYLON.GUI {
|
|
|
8431
8449
|
* @param scaleToSize defines whether to scale to texture to the saved size
|
|
8432
8450
|
*/
|
|
8433
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;
|
|
8434
8458
|
/**
|
|
8435
8459
|
* Recreate the content of the ADT from a JSON object
|
|
8436
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.
|
|
3
|
+
"version": "5.23.0",
|
|
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.
|
|
17
|
+
"babylonjs": "^5.23.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|