babylonjs-gui 7.50.0 → 7.51.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 +8 -0
- package/babylon.gui.js +1005 -981
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +16 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -4378,6 +4378,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
4378
4378
|
private _cursorChanged;
|
4379
4379
|
private _defaultMousePointerId;
|
4380
4380
|
private _rootChildrenHaveChanged;
|
4381
|
+
private _adjustToEngineHardwareScalingLevel;
|
4381
4382
|
/** @internal */
|
4382
4383
|
_capturedPointerIds: Set<number>;
|
4383
4384
|
/** @internal */
|
@@ -4438,6 +4439,13 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
4438
4439
|
* If set to true, the POINTERTAP event type will be used for "click", instead of POINTERUP
|
4439
4440
|
*/
|
4440
4441
|
usePointerTapForClickEvent: boolean;
|
4442
|
+
/**
|
4443
|
+
* If set to true, the renderScale will be adjusted automatically to the engine's hardware scaling
|
4444
|
+
* If this is set to true, manually setting the renderScale will be ignored
|
4445
|
+
* This is useful when the engine's hardware scaling is set to a value other than 1
|
4446
|
+
*/
|
4447
|
+
get adjustToEngineHardwareScalingLevel(): boolean;
|
4448
|
+
set adjustToEngineHardwareScalingLevel(value: boolean);
|
4441
4449
|
/**
|
4442
4450
|
* Gets or sets a number used to scale rendering size (2 means that the texture will be twice bigger).
|
4443
4451
|
* Useful when you want more antialiasing
|
@@ -12952,6 +12960,7 @@ declare module BABYLON.GUI {
|
|
12952
12960
|
private _cursorChanged;
|
12953
12961
|
private _defaultMousePointerId;
|
12954
12962
|
private _rootChildrenHaveChanged;
|
12963
|
+
private _adjustToEngineHardwareScalingLevel;
|
12955
12964
|
/** @internal */
|
12956
12965
|
_capturedPointerIds: Set<number>;
|
12957
12966
|
/** @internal */
|
@@ -13012,6 +13021,13 @@ declare module BABYLON.GUI {
|
|
13012
13021
|
* If set to true, the POINTERTAP event type will be used for "click", instead of POINTERUP
|
13013
13022
|
*/
|
13014
13023
|
usePointerTapForClickEvent: boolean;
|
13024
|
+
/**
|
13025
|
+
* If set to true, the renderScale will be adjusted automatically to the engine's hardware scaling
|
13026
|
+
* If this is set to true, manually setting the renderScale will be ignored
|
13027
|
+
* This is useful when the engine's hardware scaling is set to a value other than 1
|
13028
|
+
*/
|
13029
|
+
get adjustToEngineHardwareScalingLevel(): boolean;
|
13030
|
+
set adjustToEngineHardwareScalingLevel(value: boolean);
|
13015
13031
|
/**
|
13016
13032
|
* Gets or sets a number used to scale rendering size (2 means that the texture will be twice bigger).
|
13017
13033
|
* Useful when you want more antialiasing
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.51.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": "^7.
|
18
|
+
"babylonjs": "^7.51.1"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|