babylonjs-gui 5.18.0 → 5.21.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 +10 -0
- package/babylon.gui.js +69 -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 +20 -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;
|
|
@@ -3736,8 +3738,12 @@ export class ImageScrollBar extends BaseSlider {
|
|
|
3736
3738
|
private _thumbHeight;
|
|
3737
3739
|
private _barImageHeight;
|
|
3738
3740
|
private _tempMeasure;
|
|
3741
|
+
private _invertScrollDirection;
|
|
3739
3742
|
/** Number of 90° rotation to apply on the images when in vertical mode */
|
|
3740
3743
|
num90RotationInVerticalMode: number;
|
|
3744
|
+
/** Inverts the scrolling direction (default: false) */
|
|
3745
|
+
get invertScrollDirection(): boolean;
|
|
3746
|
+
set invertScrollDirection(invert: boolean);
|
|
3741
3747
|
/**
|
|
3742
3748
|
* Gets or sets the image used to render the background for horizontal bar
|
|
3743
3749
|
*/
|
|
@@ -3798,12 +3804,16 @@ export class ScrollBar extends BaseSlider {
|
|
|
3798
3804
|
private _background;
|
|
3799
3805
|
private _borderColor;
|
|
3800
3806
|
private _tempMeasure;
|
|
3807
|
+
private _invertScrollDirection;
|
|
3801
3808
|
/** Gets or sets border color */
|
|
3802
3809
|
get borderColor(): string;
|
|
3803
3810
|
set borderColor(value: string);
|
|
3804
3811
|
/** Gets or sets background color */
|
|
3805
3812
|
get background(): string;
|
|
3806
3813
|
set background(value: string);
|
|
3814
|
+
/** Inverts the scrolling direction (default: false) */
|
|
3815
|
+
get invertScrollDirection(): boolean;
|
|
3816
|
+
set invertScrollDirection(invert: boolean);
|
|
3807
3817
|
/**
|
|
3808
3818
|
* Creates a new Slider
|
|
3809
3819
|
* @param name defines the control name
|
|
@@ -8111,6 +8121,8 @@ declare module BABYLON.GUI {
|
|
|
8111
8121
|
private _cursorChanged;
|
|
8112
8122
|
private _defaultMousePointerId;
|
|
8113
8123
|
/** @hidden */
|
|
8124
|
+
_capturedPointerIds: Set<number>;
|
|
8125
|
+
/** @hidden */
|
|
8114
8126
|
_numLayoutCalls: number;
|
|
8115
8127
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
8116
8128
|
get numLayoutCalls(): number;
|
|
@@ -11523,8 +11535,12 @@ declare module BABYLON.GUI {
|
|
|
11523
11535
|
private _thumbHeight;
|
|
11524
11536
|
private _barImageHeight;
|
|
11525
11537
|
private _tempMeasure;
|
|
11538
|
+
private _invertScrollDirection;
|
|
11526
11539
|
/** Number of 90° rotation to apply on the images when in vertical mode */
|
|
11527
11540
|
num90RotationInVerticalMode: number;
|
|
11541
|
+
/** Inverts the scrolling direction (default: false) */
|
|
11542
|
+
get invertScrollDirection(): boolean;
|
|
11543
|
+
set invertScrollDirection(invert: boolean);
|
|
11528
11544
|
/**
|
|
11529
11545
|
* Gets or sets the image used to render the background for horizontal bar
|
|
11530
11546
|
*/
|
|
@@ -11579,12 +11595,16 @@ declare module BABYLON.GUI {
|
|
|
11579
11595
|
private _background;
|
|
11580
11596
|
private _borderColor;
|
|
11581
11597
|
private _tempMeasure;
|
|
11598
|
+
private _invertScrollDirection;
|
|
11582
11599
|
/** Gets or sets border color */
|
|
11583
11600
|
get borderColor(): string;
|
|
11584
11601
|
set borderColor(value: string);
|
|
11585
11602
|
/** Gets or sets background color */
|
|
11586
11603
|
get background(): string;
|
|
11587
11604
|
set background(value: string);
|
|
11605
|
+
/** Inverts the scrolling direction (default: false) */
|
|
11606
|
+
get invertScrollDirection(): boolean;
|
|
11607
|
+
set invertScrollDirection(invert: boolean);
|
|
11588
11608
|
/**
|
|
11589
11609
|
* Creates a new Slider
|
|
11590
11610
|
* @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.21.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.21.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|