babylonjs-gui 5.14.1 → 5.16.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 +7 -5
- package/babylon.gui.js +45 -5
- 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 +15 -10
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -4239,6 +4239,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
4239
4239
|
import { StackPanel } from "babylonjs-gui/2D/controls/stackPanel";
|
|
4240
4240
|
import { InputText } from "babylonjs-gui/2D/controls/inputText";
|
|
4241
4241
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
4242
|
+
import { InputTextArea } from "babylonjs-gui/2D/controls/inputTextArea";
|
|
4242
4243
|
/**
|
|
4243
4244
|
* Class used to store key control properties
|
|
4244
4245
|
*/
|
|
@@ -4305,7 +4306,7 @@ export class VirtualKeyboard extends StackPanel {
|
|
|
4305
4306
|
private _connectedInputTexts;
|
|
4306
4307
|
private _onKeyPressObserver;
|
|
4307
4308
|
/** Gets the input text control currently attached to the keyboard */
|
|
4308
|
-
get connectedInputText(): Nullable<InputText>;
|
|
4309
|
+
get connectedInputText(): Nullable<InputText | InputTextArea>;
|
|
4309
4310
|
/**
|
|
4310
4311
|
* Connects the keyboard with an input text control
|
|
4311
4312
|
*
|
|
@@ -5057,13 +5058,13 @@ import { Container3D } from "babylonjs-gui/3D/controls/container3D";
|
|
|
5057
5058
|
export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
5058
5059
|
/** Defines the control name */
|
|
5059
5060
|
name?: string | undefined;
|
|
5060
|
-
/** @hidden */
|
|
5061
|
-
_host: GUI3DManager;
|
|
5062
5061
|
private _node;
|
|
5063
5062
|
private _downCount;
|
|
5064
5063
|
private _enterCount;
|
|
5065
5064
|
private _downPointerIds;
|
|
5066
|
-
|
|
5065
|
+
protected _isVisible: boolean;
|
|
5066
|
+
/** @hidden */
|
|
5067
|
+
_host: GUI3DManager;
|
|
5067
5068
|
/** @hidden */
|
|
5068
5069
|
_isScaledByManager: boolean;
|
|
5069
5070
|
/** Gets or sets the control position in world space */
|
|
@@ -5768,6 +5769,8 @@ export class Slider3D extends Control3D {
|
|
|
5768
5769
|
* Gets the slider backplate material used by this control
|
|
5769
5770
|
*/
|
|
5770
5771
|
get sliderBackplateMaterial(): MRDLBackplateMaterial;
|
|
5772
|
+
/** Sets a boolean indicating if the control is visible */
|
|
5773
|
+
set isVisible(value: boolean);
|
|
5771
5774
|
protected _createNode(scene: Scene): TransformNode;
|
|
5772
5775
|
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5773
5776
|
private _createBehavior;
|
|
@@ -6505,7 +6508,7 @@ export class FluentMaterial extends PushMaterial {
|
|
|
6505
6508
|
*/
|
|
6506
6509
|
renderHoverLight: boolean;
|
|
6507
6510
|
/**
|
|
6508
|
-
* Gets or sets the radius used to render the hover light (default is
|
|
6511
|
+
* Gets or sets the radius used to render the hover light (default is 0.01)
|
|
6509
6512
|
*/
|
|
6510
6513
|
hoverRadius: number;
|
|
6511
6514
|
/**
|
|
@@ -12024,7 +12027,7 @@ declare module BABYLON.GUI {
|
|
|
12024
12027
|
private _connectedInputTexts;
|
|
12025
12028
|
private _onKeyPressObserver;
|
|
12026
12029
|
/** Gets the input text control currently attached to the keyboard */
|
|
12027
|
-
get connectedInputText(): BABYLON.Nullable<InputText>;
|
|
12030
|
+
get connectedInputText(): BABYLON.Nullable<InputText | InputTextArea>;
|
|
12028
12031
|
/**
|
|
12029
12032
|
* Connects the keyboard with an input text control
|
|
12030
12033
|
*
|
|
@@ -12706,13 +12709,13 @@ declare module BABYLON.GUI {
|
|
|
12706
12709
|
export class Control3D implements BABYLON.IDisposable, BABYLON.IBehaviorAware<Control3D> {
|
|
12707
12710
|
/** Defines the control name */
|
|
12708
12711
|
name?: string | undefined;
|
|
12709
|
-
/** @hidden */
|
|
12710
|
-
_host: GUI3DManager;
|
|
12711
12712
|
private _node;
|
|
12712
12713
|
private _downCount;
|
|
12713
12714
|
private _enterCount;
|
|
12714
12715
|
private _downPointerIds;
|
|
12715
|
-
|
|
12716
|
+
protected _isVisible: boolean;
|
|
12717
|
+
/** @hidden */
|
|
12718
|
+
_host: GUI3DManager;
|
|
12716
12719
|
/** @hidden */
|
|
12717
12720
|
_isScaledByManager: boolean;
|
|
12718
12721
|
/** Gets or sets the control position in world space */
|
|
@@ -13326,6 +13329,8 @@ declare module BABYLON.GUI {
|
|
|
13326
13329
|
* Gets the slider backplate material used by this control
|
|
13327
13330
|
*/
|
|
13328
13331
|
get sliderBackplateMaterial(): MRDLBackplateMaterial;
|
|
13332
|
+
/** Sets a boolean indicating if the control is visible */
|
|
13333
|
+
set isVisible(value: boolean);
|
|
13329
13334
|
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
13330
13335
|
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
13331
13336
|
private _createBehavior;
|
|
@@ -13971,7 +13976,7 @@ declare module BABYLON.GUI {
|
|
|
13971
13976
|
*/
|
|
13972
13977
|
renderHoverLight: boolean;
|
|
13973
13978
|
/**
|
|
13974
|
-
* Gets or sets the radius used to render the hover light (default is
|
|
13979
|
+
* Gets or sets the radius used to render the hover light (default is 0.01)
|
|
13975
13980
|
*/
|
|
13976
13981
|
hoverRadius: number;
|
|
13977
13982
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.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.16.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|