babylonjs-gui 7.50.0 → 7.51.1

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 CHANGED
@@ -3927,6 +3927,7 @@ declare module BABYLON.GUI {
3927
3927
  private _cursorChanged;
3928
3928
  private _defaultMousePointerId;
3929
3929
  private _rootChildrenHaveChanged;
3930
+ private _adjustToEngineHardwareScalingLevel;
3930
3931
  /** @internal */
3931
3932
  _capturedPointerIds: Set<number>;
3932
3933
  /** @internal */
@@ -3987,6 +3988,13 @@ declare module BABYLON.GUI {
3987
3988
  * If set to true, the POINTERTAP event type will be used for "click", instead of POINTERUP
3988
3989
  */
3989
3990
  usePointerTapForClickEvent: boolean;
3991
+ /**
3992
+ * If set to true, the renderScale will be adjusted automatically to the engine's hardware scaling
3993
+ * If this is set to true, manually setting the renderScale will be ignored
3994
+ * This is useful when the engine's hardware scaling is set to a value other than 1
3995
+ */
3996
+ get adjustToEngineHardwareScalingLevel(): boolean;
3997
+ set adjustToEngineHardwareScalingLevel(value: boolean);
3990
3998
  /**
3991
3999
  * Gets or sets a number used to scale rendering size (2 means that the texture will be twice bigger).
3992
4000
  * Useful when you want more antialiasing