babylonjs-gui 6.7.0 → 6.8.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 +10 -2
- package/babylon.gui.js +3298 -3233
- 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 +20 -4
- package/package.json +2 -2
package/babylon.gui.d.ts
CHANGED
@@ -1257,14 +1257,22 @@ declare module BABYLON.GUI {
|
|
1257
1257
|
*/
|
1258
1258
|
get verticalAlignment(): number;
|
1259
1259
|
set verticalAlignment(value: number);
|
1260
|
+
private _fixedRatio;
|
1261
|
+
set fixedRatio(value: number);
|
1260
1262
|
/**
|
1261
1263
|
* Gets or sets a fixed ratio for this control.
|
1262
1264
|
* When different from 0, the ratio is used to compute the "second" dimension.
|
1263
1265
|
* The first dimension used in the computation is the last one set (by setting width / widthInPixels or height / heightInPixels), and the
|
1264
1266
|
* second dimension is computed as first dimension * fixedRatio
|
1265
1267
|
*/
|
1266
|
-
fixedRatio: number;
|
1267
|
-
|
1268
|
+
get fixedRatio(): number;
|
1269
|
+
private _fixedRatioMasterIsWidth;
|
1270
|
+
set fixedRatioMasterIsWidth(value: boolean);
|
1271
|
+
/**
|
1272
|
+
* Gets or sets a boolean indicating that the fixed ratio is set on the width instead of the height. True by default.
|
1273
|
+
* When the height of a control is set, this property is changed to false.
|
1274
|
+
*/
|
1275
|
+
get fixedRatioMasterIsWidth(): boolean;
|
1268
1276
|
/**
|
1269
1277
|
* Gets or sets control width
|
1270
1278
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|