babylonjs-gui 5.0.0-beta.7 → 5.0.0-beta.8

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.
@@ -772,6 +772,17 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
772
772
  * @returns a new AdvancedDynamicTexture
773
773
  */
774
774
  static CreateFullscreenUI(name: string, foreground?: boolean, scene?: Nullable<Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
775
+ /**
776
+ * Scales the texture
777
+ * @param ratio the scale factor to apply to both width and height
778
+ */
779
+ scale(ratio: number): void;
780
+ /**
781
+ * Resizes the texture
782
+ * @param width the new width
783
+ * @param height the new height
784
+ */
785
+ scaleTo(width: number, height: number): void;
775
786
  }
776
787
  }
777
788
  declare module "babylonjs-gui/2D/controls/control" {
@@ -7905,6 +7916,17 @@ declare module BABYLON.GUI {
7905
7916
  * @returns a new AdvancedDynamicTexture
7906
7917
  */
7907
7918
  static CreateFullscreenUI(name: string, foreground?: boolean, scene?: BABYLON.Nullable<BABYLON.Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
7919
+ /**
7920
+ * Scales the texture
7921
+ * @param ratio the scale factor to apply to both width and height
7922
+ */
7923
+ scale(ratio: number): void;
7924
+ /**
7925
+ * Resizes the texture
7926
+ * @param width the new width
7927
+ * @param height the new height
7928
+ */
7929
+ scaleTo(width: number, height: number): void;
7908
7930
  }
7909
7931
  }
7910
7932
  declare module BABYLON.GUI {
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",
7
+ "version": "5.0.0-beta.8",
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.7"
31
+ "babylonjs": "5.0.0-beta.8"
32
32
  },
33
33
  "engines": {
34
34
  "node": "*"