babylonjs-gui 5.0.0-alpha.63 → 5.0.0-alpha.64
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.js +167 -132
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +2 -2
- package/babylon.gui.module.d.ts +24 -6
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -247,6 +247,11 @@ declare module "babylonjs-gui/2D/math2D" {
|
|
|
247
247
|
* @returns a new matrix
|
|
248
248
|
*/
|
|
249
249
|
static Identity(): Matrix2D;
|
|
250
|
+
/**
|
|
251
|
+
* Creates an identity matrix and stores it in a target matrix
|
|
252
|
+
* @param result defines the target matrix
|
|
253
|
+
*/
|
|
254
|
+
static IdentityToRef(result: Matrix2D): void;
|
|
250
255
|
/**
|
|
251
256
|
* Creates a translation matrix and stores it in a target matrix
|
|
252
257
|
* @param x defines the x coordinate of the translation
|
|
@@ -837,7 +842,7 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
|
837
842
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
838
843
|
/** @hidden */
|
|
839
844
|
protected _cachedParentMeasure: Measure;
|
|
840
|
-
private
|
|
845
|
+
private _descendantsOnlyPadding;
|
|
841
846
|
private _paddingLeft;
|
|
842
847
|
private _paddingRight;
|
|
843
848
|
private _paddingTop;
|
|
@@ -898,6 +903,10 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
|
898
903
|
*/
|
|
899
904
|
get isReadOnly(): boolean;
|
|
900
905
|
set isReadOnly(value: boolean);
|
|
906
|
+
/**
|
|
907
|
+
* Gets the transformed measure, that is the bounding box of the control after applying all transformations
|
|
908
|
+
*/
|
|
909
|
+
get transformedMeasure(): Measure;
|
|
901
910
|
/**
|
|
902
911
|
* Gets or sets an object used to store user defined information for the node
|
|
903
912
|
*/
|
|
@@ -1144,8 +1153,8 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
|
1144
1153
|
* Gets or sets a value indicating the padding should work like in CSS.
|
|
1145
1154
|
* Basically, it will add the padding amount on each side of the parent control for its children.
|
|
1146
1155
|
*/
|
|
1147
|
-
get
|
|
1148
|
-
set
|
|
1156
|
+
get descendantsOnlyPadding(): boolean;
|
|
1157
|
+
set descendantsOnlyPadding(value: boolean);
|
|
1149
1158
|
/**
|
|
1150
1159
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
1151
1160
|
* @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
@@ -7376,6 +7385,11 @@ declare module BABYLON.GUI {
|
|
|
7376
7385
|
* @returns a new matrix
|
|
7377
7386
|
*/
|
|
7378
7387
|
static Identity(): Matrix2D;
|
|
7388
|
+
/**
|
|
7389
|
+
* Creates an identity matrix and stores it in a target matrix
|
|
7390
|
+
* @param result defines the target matrix
|
|
7391
|
+
*/
|
|
7392
|
+
static IdentityToRef(result: Matrix2D): void;
|
|
7379
7393
|
/**
|
|
7380
7394
|
* Creates a translation matrix and stores it in a target matrix
|
|
7381
7395
|
* @param x defines the x coordinate of the translation
|
|
@@ -7939,7 +7953,7 @@ declare module BABYLON.GUI {
|
|
|
7939
7953
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
7940
7954
|
/** @hidden */
|
|
7941
7955
|
protected _cachedParentMeasure: Measure;
|
|
7942
|
-
private
|
|
7956
|
+
private _descendantsOnlyPadding;
|
|
7943
7957
|
private _paddingLeft;
|
|
7944
7958
|
private _paddingRight;
|
|
7945
7959
|
private _paddingTop;
|
|
@@ -8000,6 +8014,10 @@ declare module BABYLON.GUI {
|
|
|
8000
8014
|
*/
|
|
8001
8015
|
get isReadOnly(): boolean;
|
|
8002
8016
|
set isReadOnly(value: boolean);
|
|
8017
|
+
/**
|
|
8018
|
+
* Gets the transformed measure, that is the bounding box of the control after applying all transformations
|
|
8019
|
+
*/
|
|
8020
|
+
get transformedMeasure(): Measure;
|
|
8003
8021
|
/**
|
|
8004
8022
|
* Gets or sets an object used to store user defined information for the node
|
|
8005
8023
|
*/
|
|
@@ -8246,8 +8264,8 @@ declare module BABYLON.GUI {
|
|
|
8246
8264
|
* Gets or sets a value indicating the padding should work like in CSS.
|
|
8247
8265
|
* Basically, it will add the padding amount on each side of the parent control for its children.
|
|
8248
8266
|
*/
|
|
8249
|
-
get
|
|
8250
|
-
set
|
|
8267
|
+
get descendantsOnlyPadding(): boolean;
|
|
8268
|
+
set descendantsOnlyPadding(value: boolean);
|
|
8251
8269
|
/**
|
|
8252
8270
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
8253
8271
|
* @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
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.
|
|
7
|
+
"version": "5.0.0-alpha.64",
|
|
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.
|
|
31
|
+
"babylonjs": "5.0.0-alpha.64"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": "*"
|