babylonjs-gui 7.20.1 → 7.21.1
Sign up to get free protection for your applications and to get access to all the features.
- package/babylon.gui.d.ts +5 -0
- package/babylon.gui.js +41 -8
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +10 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -4396,6 +4396,10 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
4396
4396
|
* Defaults to false.
|
4397
4397
|
*/
|
4398
4398
|
disableTabNavigation: boolean;
|
4399
|
+
/**
|
4400
|
+
* If set to true, the POINTERTAP event type will be used for "click", instead of POINTERUP
|
4401
|
+
*/
|
4402
|
+
usePointerTapForClickEvent: boolean;
|
4399
4403
|
/**
|
4400
4404
|
* Gets or sets a number used to scale rendering size (2 means that the texture will be twice bigger).
|
4401
4405
|
* Useful when you want more antialiasing
|
@@ -7613,6 +7617,7 @@ export class Control implements IAnimatable, IFocusableControl {
|
|
7613
7617
|
* @internal
|
7614
7618
|
*/
|
7615
7619
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: Nullable<PointerInfoBase>): void;
|
7620
|
+
_onPointerPick(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: Nullable<PointerInfoBase>): boolean;
|
7616
7621
|
/**
|
7617
7622
|
* @internal
|
7618
7623
|
*/
|
@@ -12850,6 +12855,10 @@ declare module BABYLON.GUI {
|
|
12850
12855
|
* Defaults to false.
|
12851
12856
|
*/
|
12852
12857
|
disableTabNavigation: boolean;
|
12858
|
+
/**
|
12859
|
+
* If set to true, the POINTERTAP event type will be used for "click", instead of POINTERUP
|
12860
|
+
*/
|
12861
|
+
usePointerTapForClickEvent: boolean;
|
12853
12862
|
/**
|
12854
12863
|
* Gets or sets a number used to scale rendering size (2 means that the texture will be twice bigger).
|
12855
12864
|
* Useful when you want more antialiasing
|
@@ -15894,6 +15903,7 @@ declare module BABYLON.GUI {
|
|
15894
15903
|
* @internal
|
15895
15904
|
*/
|
15896
15905
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
15906
|
+
_onPointerPick(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
15897
15907
|
/**
|
15898
15908
|
* @internal
|
15899
15909
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.21.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.21.1"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|