babylonjs-gui 5.0.0-alpha.54 → 5.0.0-alpha.58

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.
@@ -524,6 +524,12 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
524
524
  */
525
525
  getDescendants(directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): Control[];
526
526
  /**
527
+ * Will return all controls with the given type name
528
+ * @param typeName defines the type name to search for
529
+ * @returns an array of all controls found
530
+ */
531
+ getControlsByType(typeName: string): Control[];
532
+ /**
527
533
  * Will return the first control with the given name
528
534
  * @param name defines the name to search for
529
535
  * @return the first control found or null
@@ -7037,6 +7043,12 @@ declare module "babylonjs-gui/index" {
7037
7043
  export * from "babylonjs-gui/2D/index";
7038
7044
  export * from "babylonjs-gui/3D/index";
7039
7045
  }
7046
+ declare module "babylonjs-gui/3D/materials/fluentMaterial" {
7047
+ /**
7048
+ * This is here for backwards compatibility with 4.2
7049
+ */
7050
+ // export { FluentMaterial } from "babylonjs-gui/3D/materials/fluent/fluentMaterial";
7051
+ }
7040
7052
  declare module "babylonjs-gui/legacy/legacy" {
7041
7053
  export * from "babylonjs-gui/index";
7042
7054
  }
@@ -7545,6 +7557,12 @@ declare module BABYLON.GUI {
7545
7557
  */
7546
7558
  getDescendants(directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): Control[];
7547
7559
  /**
7560
+ * Will return all controls with the given type name
7561
+ * @param typeName defines the type name to search for
7562
+ * @returns an array of all controls found
7563
+ */
7564
+ getControlsByType(typeName: string): Control[];
7565
+ /**
7548
7566
  * Will return the first control with the given name
7549
7567
  * @param name defines the name to search for
7550
7568
  * @return the first control found or null
@@ -13543,4 +13561,10 @@ declare module BABYLON.GUI {
13543
13561
  */
13544
13562
  dispose(): void;
13545
13563
  }
13564
+ }
13565
+ declare module BABYLON.GUI {
13566
+ /**
13567
+ * This is here for backwards compatibility with 4.2
13568
+ */
13569
+ // export { FluentMaterial } from "babylonjs-gui/3D/materials/fluent/fluentMaterial";
13546
13570
  }
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-alpha.54",
7
+ "version": "5.0.0-alpha.58",
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-alpha.54"
31
+ "babylonjs": "5.0.0-alpha.58"
32
32
  },
33
33
  "engines": {
34
34
  "node": "*"