babylonjs-gui 5.37.0 → 5.39.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 +13 -0
- package/babylon.gui.js +27 -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 +26 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -1744,6 +1744,19 @@ export class Control implements IAnimatable {
|
|
|
1744
1744
|
*/
|
|
1745
1745
|
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1746
1746
|
private _prepareFont;
|
|
1747
|
+
/**
|
|
1748
|
+
* Clones a control and its descendants
|
|
1749
|
+
* @param host the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
|
|
1750
|
+
* @returns the cloned control
|
|
1751
|
+
*/
|
|
1752
|
+
clone(host?: AdvancedDynamicTexture): Control;
|
|
1753
|
+
/**
|
|
1754
|
+
* Parses a serialized object into this control
|
|
1755
|
+
* @param serializedObject the object with the serialized properties
|
|
1756
|
+
* @param host the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
|
|
1757
|
+
* @returns this control
|
|
1758
|
+
*/
|
|
1759
|
+
parse(serializedObject: any, host?: AdvancedDynamicTexture): Control;
|
|
1747
1760
|
/**
|
|
1748
1761
|
* Serializes the current control
|
|
1749
1762
|
* @param serializationObject defined the JSON serialized object
|
|
@@ -10103,6 +10116,19 @@ declare module BABYLON.GUI {
|
|
|
10103
10116
|
*/
|
|
10104
10117
|
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
10105
10118
|
private _prepareFont;
|
|
10119
|
+
/**
|
|
10120
|
+
* Clones a control and its descendants
|
|
10121
|
+
* @param host the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
|
|
10122
|
+
* @returns the cloned control
|
|
10123
|
+
*/
|
|
10124
|
+
clone(host?: AdvancedDynamicTexture): Control;
|
|
10125
|
+
/**
|
|
10126
|
+
* Parses a serialized object into this control
|
|
10127
|
+
* @param serializedObject the object with the serialized properties
|
|
10128
|
+
* @param host the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
|
|
10129
|
+
* @returns this control
|
|
10130
|
+
*/
|
|
10131
|
+
parse(serializedObject: any, host?: AdvancedDynamicTexture): Control;
|
|
10106
10132
|
/**
|
|
10107
10133
|
* Serializes the current control
|
|
10108
10134
|
* @param serializationObject defined the JSON serialized object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.39.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.39.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|