babylonjs-gui 5.19.0 → 5.22.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 +16 -0
- package/babylon.gui.js +105 -8
- 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 +32 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -125,6 +125,8 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
125
125
|
private _cursorChanged;
|
|
126
126
|
private _defaultMousePointerId;
|
|
127
127
|
/** @hidden */
|
|
128
|
+
_capturedPointerIds: Set<number>;
|
|
129
|
+
/** @hidden */
|
|
128
130
|
_numLayoutCalls: number;
|
|
129
131
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
130
132
|
get numLayoutCalls(): number;
|
|
@@ -407,6 +409,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
407
409
|
* Unregister the clipboard Events from the canvas
|
|
408
410
|
*/
|
|
409
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;
|
|
410
418
|
/**
|
|
411
419
|
* Connect the texture to a hosting mesh to enable interactions
|
|
412
420
|
* @param mesh defines the mesh to attach to
|
|
@@ -3736,8 +3744,12 @@ export class ImageScrollBar extends BaseSlider {
|
|
|
3736
3744
|
private _thumbHeight;
|
|
3737
3745
|
private _barImageHeight;
|
|
3738
3746
|
private _tempMeasure;
|
|
3747
|
+
private _invertScrollDirection;
|
|
3739
3748
|
/** Number of 90° rotation to apply on the images when in vertical mode */
|
|
3740
3749
|
num90RotationInVerticalMode: number;
|
|
3750
|
+
/** Inverts the scrolling direction (default: false) */
|
|
3751
|
+
get invertScrollDirection(): boolean;
|
|
3752
|
+
set invertScrollDirection(invert: boolean);
|
|
3741
3753
|
/**
|
|
3742
3754
|
* Gets or sets the image used to render the background for horizontal bar
|
|
3743
3755
|
*/
|
|
@@ -3798,12 +3810,16 @@ export class ScrollBar extends BaseSlider {
|
|
|
3798
3810
|
private _background;
|
|
3799
3811
|
private _borderColor;
|
|
3800
3812
|
private _tempMeasure;
|
|
3813
|
+
private _invertScrollDirection;
|
|
3801
3814
|
/** Gets or sets border color */
|
|
3802
3815
|
get borderColor(): string;
|
|
3803
3816
|
set borderColor(value: string);
|
|
3804
3817
|
/** Gets or sets background color */
|
|
3805
3818
|
get background(): string;
|
|
3806
3819
|
set background(value: string);
|
|
3820
|
+
/** Inverts the scrolling direction (default: false) */
|
|
3821
|
+
get invertScrollDirection(): boolean;
|
|
3822
|
+
set invertScrollDirection(invert: boolean);
|
|
3807
3823
|
/**
|
|
3808
3824
|
* Creates a new Slider
|
|
3809
3825
|
* @param name defines the control name
|
|
@@ -8111,6 +8127,8 @@ declare module BABYLON.GUI {
|
|
|
8111
8127
|
private _cursorChanged;
|
|
8112
8128
|
private _defaultMousePointerId;
|
|
8113
8129
|
/** @hidden */
|
|
8130
|
+
_capturedPointerIds: Set<number>;
|
|
8131
|
+
/** @hidden */
|
|
8114
8132
|
_numLayoutCalls: number;
|
|
8115
8133
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
8116
8134
|
get numLayoutCalls(): number;
|
|
@@ -8393,6 +8411,12 @@ declare module BABYLON.GUI {
|
|
|
8393
8411
|
* Unregister the clipboard Events from the canvas
|
|
8394
8412
|
*/
|
|
8395
8413
|
unRegisterClipboardEvents(): void;
|
|
8414
|
+
/**
|
|
8415
|
+
* Transform uvs from mesh space to texture space, taking the texture into account
|
|
8416
|
+
* @param uv the uvs in mesh space
|
|
8417
|
+
* @returns the uvs in texture space
|
|
8418
|
+
*/
|
|
8419
|
+
private _transformUvs;
|
|
8396
8420
|
/**
|
|
8397
8421
|
* Connect the texture to a hosting mesh to enable interactions
|
|
8398
8422
|
* @param mesh defines the mesh to attach to
|
|
@@ -11523,8 +11547,12 @@ declare module BABYLON.GUI {
|
|
|
11523
11547
|
private _thumbHeight;
|
|
11524
11548
|
private _barImageHeight;
|
|
11525
11549
|
private _tempMeasure;
|
|
11550
|
+
private _invertScrollDirection;
|
|
11526
11551
|
/** Number of 90° rotation to apply on the images when in vertical mode */
|
|
11527
11552
|
num90RotationInVerticalMode: number;
|
|
11553
|
+
/** Inverts the scrolling direction (default: false) */
|
|
11554
|
+
get invertScrollDirection(): boolean;
|
|
11555
|
+
set invertScrollDirection(invert: boolean);
|
|
11528
11556
|
/**
|
|
11529
11557
|
* Gets or sets the image used to render the background for horizontal bar
|
|
11530
11558
|
*/
|
|
@@ -11579,12 +11607,16 @@ declare module BABYLON.GUI {
|
|
|
11579
11607
|
private _background;
|
|
11580
11608
|
private _borderColor;
|
|
11581
11609
|
private _tempMeasure;
|
|
11610
|
+
private _invertScrollDirection;
|
|
11582
11611
|
/** Gets or sets border color */
|
|
11583
11612
|
get borderColor(): string;
|
|
11584
11613
|
set borderColor(value: string);
|
|
11585
11614
|
/** Gets or sets background color */
|
|
11586
11615
|
get background(): string;
|
|
11587
11616
|
set background(value: string);
|
|
11617
|
+
/** Inverts the scrolling direction (default: false) */
|
|
11618
|
+
get invertScrollDirection(): boolean;
|
|
11619
|
+
set invertScrollDirection(invert: boolean);
|
|
11588
11620
|
/**
|
|
11589
11621
|
* Creates a new Slider
|
|
11590
11622
|
* @param name defines the control name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.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.22.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|