babylonjs-gui 5.0.0-beta.5 → 5.0.0-beta.6
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.js +107 -97
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.module.d.ts +18 -18
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -583,7 +583,7 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
|
|
|
583
583
|
* @param samplingMode defines the texture sampling mode (Texture.NEAREST_SAMPLINGMODE by default)
|
|
584
584
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
585
585
|
*/
|
|
586
|
-
constructor(name: string, width
|
|
586
|
+
constructor(name: string, width?: number, height?: number, scene?: Nullable<Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
587
587
|
/**
|
|
588
588
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
589
589
|
* @returns "AdvancedDynamicTexture"
|
|
@@ -1266,10 +1266,10 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
|
1266
1266
|
/** Gets or sets if control is Enabled */
|
|
1267
1267
|
get isEnabled(): boolean;
|
|
1268
1268
|
set isEnabled(value: boolean);
|
|
1269
|
-
/** Gets or sets background color of control if it's disabled */
|
|
1269
|
+
/** Gets or sets background color of control if it's disabled. Only applies to Button class. */
|
|
1270
1270
|
get disabledColor(): string;
|
|
1271
1271
|
set disabledColor(value: string);
|
|
1272
|
-
/** Gets or sets front color of control if it's disabled */
|
|
1272
|
+
/** Gets or sets front color of control if it's disabled. Only applies to Checkbox class. */
|
|
1273
1273
|
get disabledColorItem(): string;
|
|
1274
1274
|
set disabledColorItem(value: string);
|
|
1275
1275
|
/**
|
|
@@ -4798,7 +4798,7 @@ declare module "babylonjs-gui/3D/materials/fluent/fluentMaterial" {
|
|
|
4798
4798
|
* @param name defines the name of the material
|
|
4799
4799
|
* @param scene defines the hosting scene
|
|
4800
4800
|
*/
|
|
4801
|
-
constructor(name: string, scene
|
|
4801
|
+
constructor(name: string, scene?: Scene);
|
|
4802
4802
|
needAlphaBlending(): boolean;
|
|
4803
4803
|
needAlphaTesting(): boolean;
|
|
4804
4804
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -5085,7 +5085,7 @@ declare module "babylonjs-gui/3D/materials/fluentButton/fluentButtonMaterial" {
|
|
|
5085
5085
|
*/
|
|
5086
5086
|
globalRightIndexTipPosition: Vector3;
|
|
5087
5087
|
private _blobTexture;
|
|
5088
|
-
constructor(name: string, scene
|
|
5088
|
+
constructor(name: string, scene?: Scene);
|
|
5089
5089
|
needAlphaBlending(): boolean;
|
|
5090
5090
|
needAlphaTesting(): boolean;
|
|
5091
5091
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -5691,7 +5691,7 @@ declare module "babylonjs-gui/3D/materials/fluentBackplate/fluentBackplateMateri
|
|
|
5691
5691
|
*/
|
|
5692
5692
|
globalRightIndexTipPosition: Vector3;
|
|
5693
5693
|
private _globalRightIndexTipPosition4;
|
|
5694
|
-
constructor(name: string, scene
|
|
5694
|
+
constructor(name: string, scene?: Scene);
|
|
5695
5695
|
needAlphaBlending(): boolean;
|
|
5696
5696
|
needAlphaTesting(): boolean;
|
|
5697
5697
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -6353,7 +6353,7 @@ declare module "babylonjs-gui/3D/materials/mrdl/mrdlSliderBarMaterial" {
|
|
|
6353
6353
|
* @hidden
|
|
6354
6354
|
*/
|
|
6355
6355
|
globalRightIndexMiddlePosition: Vector4;
|
|
6356
|
-
constructor(name: string, scene
|
|
6356
|
+
constructor(name: string, scene?: Scene);
|
|
6357
6357
|
needAlphaBlending(): boolean;
|
|
6358
6358
|
needAlphaTesting(): boolean;
|
|
6359
6359
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -6702,7 +6702,7 @@ declare module "babylonjs-gui/3D/materials/mrdl/mrdlSliderThumbMaterial" {
|
|
|
6702
6702
|
* @hidden
|
|
6703
6703
|
*/
|
|
6704
6704
|
globalRightIndexMiddlePosition: Vector4;
|
|
6705
|
-
constructor(name: string, scene
|
|
6705
|
+
constructor(name: string, scene?: Scene);
|
|
6706
6706
|
needAlphaBlending(): boolean;
|
|
6707
6707
|
needAlphaTesting(): boolean;
|
|
6708
6708
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -6865,7 +6865,7 @@ declare module "babylonjs-gui/3D/materials/mrdl/mrdlBackplateMaterial" {
|
|
|
6865
6865
|
* Gets or sets the edge width of the backplate.
|
|
6866
6866
|
*/
|
|
6867
6867
|
edgeLineGradientBlend: number;
|
|
6868
|
-
constructor(name: string, scene
|
|
6868
|
+
constructor(name: string, scene?: Scene);
|
|
6869
6869
|
needAlphaBlending(): boolean;
|
|
6870
6870
|
needAlphaTesting(): boolean;
|
|
6871
6871
|
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
@@ -7716,7 +7716,7 @@ declare module BABYLON.GUI {
|
|
|
7716
7716
|
* @param samplingMode defines the texture sampling mode (Texture.NEAREST_SAMPLINGMODE by default)
|
|
7717
7717
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
7718
7718
|
*/
|
|
7719
|
-
constructor(name: string, width
|
|
7719
|
+
constructor(name: string, width?: number, height?: number, scene?: BABYLON.Nullable<BABYLON.Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
7720
7720
|
/**
|
|
7721
7721
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
7722
7722
|
* @returns "AdvancedDynamicTexture"
|
|
@@ -8386,10 +8386,10 @@ declare module BABYLON.GUI {
|
|
|
8386
8386
|
/** Gets or sets if control is Enabled */
|
|
8387
8387
|
get isEnabled(): boolean;
|
|
8388
8388
|
set isEnabled(value: boolean);
|
|
8389
|
-
/** Gets or sets background color of control if it's disabled */
|
|
8389
|
+
/** Gets or sets background color of control if it's disabled. Only applies to Button class. */
|
|
8390
8390
|
get disabledColor(): string;
|
|
8391
8391
|
set disabledColor(value: string);
|
|
8392
|
-
/** Gets or sets front color of control if it's disabled */
|
|
8392
|
+
/** Gets or sets front color of control if it's disabled. Only applies to Checkbox class. */
|
|
8393
8393
|
get disabledColorItem(): string;
|
|
8394
8394
|
set disabledColorItem(value: string);
|
|
8395
8395
|
/**
|
|
@@ -11654,7 +11654,7 @@ declare module BABYLON.GUI {
|
|
|
11654
11654
|
* @param name defines the name of the material
|
|
11655
11655
|
* @param scene defines the hosting scene
|
|
11656
11656
|
*/
|
|
11657
|
-
constructor(name: string, scene
|
|
11657
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
11658
11658
|
needAlphaBlending(): boolean;
|
|
11659
11659
|
needAlphaTesting(): boolean;
|
|
11660
11660
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
@@ -11921,7 +11921,7 @@ declare module BABYLON.GUI {
|
|
|
11921
11921
|
*/
|
|
11922
11922
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
11923
11923
|
private _blobTexture;
|
|
11924
|
-
constructor(name: string, scene
|
|
11924
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
11925
11925
|
needAlphaBlending(): boolean;
|
|
11926
11926
|
needAlphaTesting(): boolean;
|
|
11927
11927
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
@@ -12482,7 +12482,7 @@ declare module BABYLON.GUI {
|
|
|
12482
12482
|
*/
|
|
12483
12483
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
12484
12484
|
private _globalRightIndexTipPosition4;
|
|
12485
|
-
constructor(name: string, scene
|
|
12485
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
12486
12486
|
needAlphaBlending(): boolean;
|
|
12487
12487
|
needAlphaTesting(): boolean;
|
|
12488
12488
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
@@ -13088,7 +13088,7 @@ declare module BABYLON.GUI {
|
|
|
13088
13088
|
* @hidden
|
|
13089
13089
|
*/
|
|
13090
13090
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
13091
|
-
constructor(name: string, scene
|
|
13091
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13092
13092
|
needAlphaBlending(): boolean;
|
|
13093
13093
|
needAlphaTesting(): boolean;
|
|
13094
13094
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
@@ -13424,7 +13424,7 @@ declare module BABYLON.GUI {
|
|
|
13424
13424
|
* @hidden
|
|
13425
13425
|
*/
|
|
13426
13426
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
13427
|
-
constructor(name: string, scene
|
|
13427
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13428
13428
|
needAlphaBlending(): boolean;
|
|
13429
13429
|
needAlphaTesting(): boolean;
|
|
13430
13430
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
@@ -13575,7 +13575,7 @@ declare module BABYLON.GUI {
|
|
|
13575
13575
|
* Gets or sets the edge width of the backplate.
|
|
13576
13576
|
*/
|
|
13577
13577
|
edgeLineGradientBlend: number;
|
|
13578
|
-
constructor(name: string, scene
|
|
13578
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13579
13579
|
needAlphaBlending(): boolean;
|
|
13580
13580
|
needAlphaTesting(): boolean;
|
|
13581
13581
|
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
},
|
|
5
5
|
"name": "babylonjs-gui",
|
|
6
6
|
"description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
|
|
7
|
-
"version": "5.0.0-beta.
|
|
7
|
+
"version": "5.0.0-beta.6",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"babylonjs": "5.0.0-beta.
|
|
31
|
+
"babylonjs": "5.0.0-beta.6"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": "*"
|