babylonjs-gui 5.15.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.
@@ -5058,13 +5058,13 @@ import { Container3D } from "babylonjs-gui/3D/controls/container3D";
5058
5058
  export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
5059
5059
  /** Defines the control name */
5060
5060
  name?: string | undefined;
5061
- /** @hidden */
5062
- _host: GUI3DManager;
5063
5061
  private _node;
5064
5062
  private _downCount;
5065
5063
  private _enterCount;
5066
5064
  private _downPointerIds;
5067
- private _isVisible;
5065
+ protected _isVisible: boolean;
5066
+ /** @hidden */
5067
+ _host: GUI3DManager;
5068
5068
  /** @hidden */
5069
5069
  _isScaledByManager: boolean;
5070
5070
  /** Gets or sets the control position in world space */
@@ -5769,6 +5769,8 @@ export class Slider3D extends Control3D {
5769
5769
  * Gets the slider backplate material used by this control
5770
5770
  */
5771
5771
  get sliderBackplateMaterial(): MRDLBackplateMaterial;
5772
+ /** Sets a boolean indicating if the control is visible */
5773
+ set isVisible(value: boolean);
5772
5774
  protected _createNode(scene: Scene): TransformNode;
5773
5775
  protected _affectMaterial(mesh: AbstractMesh): void;
5774
5776
  private _createBehavior;
@@ -12707,13 +12709,13 @@ declare module BABYLON.GUI {
12707
12709
  export class Control3D implements BABYLON.IDisposable, BABYLON.IBehaviorAware<Control3D> {
12708
12710
  /** Defines the control name */
12709
12711
  name?: string | undefined;
12710
- /** @hidden */
12711
- _host: GUI3DManager;
12712
12712
  private _node;
12713
12713
  private _downCount;
12714
12714
  private _enterCount;
12715
12715
  private _downPointerIds;
12716
- private _isVisible;
12716
+ protected _isVisible: boolean;
12717
+ /** @hidden */
12718
+ _host: GUI3DManager;
12717
12719
  /** @hidden */
12718
12720
  _isScaledByManager: boolean;
12719
12721
  /** Gets or sets the control position in world space */
@@ -13327,6 +13329,8 @@ declare module BABYLON.GUI {
13327
13329
  * Gets the slider backplate material used by this control
13328
13330
  */
13329
13331
  get sliderBackplateMaterial(): MRDLBackplateMaterial;
13332
+ /** Sets a boolean indicating if the control is visible */
13333
+ set isVisible(value: boolean);
13330
13334
  protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
13331
13335
  protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
13332
13336
  private _createBehavior;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "5.15.1",
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.15.1"
17
+ "babylonjs": "^5.16.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",