babylonjs-gui 5.32.0 → 5.32.2
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 +61 -54
- package/babylon.gui.js +84 -71
- 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 +122 -108
- package/package.json +2 -2
- package/readme.md +1 -1
package/babylon.gui.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ declare module BABYLON.GUI {
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Class used to create texture to support 2D GUI elements
|
|
56
|
-
* @see https://doc.babylonjs.com/
|
|
56
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui
|
|
57
57
|
*/
|
|
58
58
|
export class AdvancedDynamicTexture extends BABYLON.DynamicTexture {
|
|
59
59
|
/** Define the Uurl to load snippets */
|
|
@@ -165,32 +165,32 @@ declare module BABYLON.GUI {
|
|
|
165
165
|
/**
|
|
166
166
|
* Gets or sets the ideal width used to design controls.
|
|
167
167
|
* The GUI will then rescale everything accordingly
|
|
168
|
-
* @see https://doc.babylonjs.com/
|
|
168
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
169
169
|
*/
|
|
170
170
|
get idealWidth(): number;
|
|
171
171
|
set idealWidth(value: number);
|
|
172
172
|
/**
|
|
173
173
|
* Gets or sets the ideal height used to design controls.
|
|
174
174
|
* The GUI will then rescale everything accordingly
|
|
175
|
-
* @see https://doc.babylonjs.com/
|
|
175
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
176
176
|
*/
|
|
177
177
|
get idealHeight(): number;
|
|
178
178
|
set idealHeight(value: number);
|
|
179
179
|
/**
|
|
180
180
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
|
181
|
-
* @see https://doc.babylonjs.com/
|
|
181
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
182
182
|
*/
|
|
183
183
|
get useSmallestIdeal(): boolean;
|
|
184
184
|
set useSmallestIdeal(value: boolean);
|
|
185
185
|
/**
|
|
186
186
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
|
187
|
-
* @see https://doc.babylonjs.com/
|
|
187
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
188
188
|
*/
|
|
189
189
|
get renderAtIdealSize(): boolean;
|
|
190
190
|
set renderAtIdealSize(value: boolean);
|
|
191
191
|
/**
|
|
192
192
|
* Gets the ratio used when in "ideal mode"
|
|
193
|
-
* @see https://doc.babylonjs.com/
|
|
193
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
194
194
|
* */
|
|
195
195
|
get idealRatio(): number;
|
|
196
196
|
/**
|
|
@@ -293,7 +293,7 @@ declare module BABYLON.GUI {
|
|
|
293
293
|
/**
|
|
294
294
|
* Helper function used to create a new style
|
|
295
295
|
* @returns a new style
|
|
296
|
-
* @see https://doc.babylonjs.com/
|
|
296
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
|
|
297
297
|
*/
|
|
298
298
|
createStyle(): Style;
|
|
299
299
|
/**
|
|
@@ -701,13 +701,13 @@ declare module BABYLON.GUI {
|
|
|
701
701
|
set value(value: BABYLON.Color3);
|
|
702
702
|
/**
|
|
703
703
|
* Gets or sets control width
|
|
704
|
-
* @see https://doc.babylonjs.com/
|
|
704
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
705
705
|
*/
|
|
706
706
|
get width(): string | number;
|
|
707
707
|
set width(value: string | number);
|
|
708
708
|
/**
|
|
709
709
|
* Gets or sets control height
|
|
710
|
-
* @see https://doc.babylonjs.com/
|
|
710
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
711
711
|
*/
|
|
712
712
|
get height(): string | number;
|
|
713
713
|
/** Gets or sets control height */
|
|
@@ -773,7 +773,7 @@ declare module BABYLON.GUI {
|
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
775
|
* Root class for 2D containers
|
|
776
|
-
* @see https://doc.babylonjs.com/
|
|
776
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#containers
|
|
777
777
|
*/
|
|
778
778
|
export class Container extends Control {
|
|
779
779
|
name?: string | undefined;
|
|
@@ -928,7 +928,7 @@ declare module BABYLON.GUI {
|
|
|
928
928
|
|
|
929
929
|
/**
|
|
930
930
|
* Root class used for all 2D controls
|
|
931
|
-
* @see https://doc.babylonjs.com/
|
|
931
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#controls
|
|
932
932
|
*/
|
|
933
933
|
export class Control implements BABYLON.IAnimatable {
|
|
934
934
|
/** defines the name of the control */
|
|
@@ -1196,39 +1196,39 @@ declare module BABYLON.GUI {
|
|
|
1196
1196
|
get highlightColor(): string;
|
|
1197
1197
|
set highlightColor(value: string);
|
|
1198
1198
|
/** Gets or sets a value indicating the scale factor on X axis (1 by default)
|
|
1199
|
-
* @see https://doc.babylonjs.com/
|
|
1199
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
|
|
1200
1200
|
*/
|
|
1201
1201
|
get scaleX(): number;
|
|
1202
1202
|
set scaleX(value: number);
|
|
1203
1203
|
/** Gets or sets a value indicating the scale factor on Y axis (1 by default)
|
|
1204
|
-
* @see https://doc.babylonjs.com/
|
|
1204
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
|
|
1205
1205
|
*/
|
|
1206
1206
|
get scaleY(): number;
|
|
1207
1207
|
set scaleY(value: number);
|
|
1208
1208
|
/** Gets or sets the rotation angle (0 by default)
|
|
1209
|
-
* @see https://doc.babylonjs.com/
|
|
1209
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
|
|
1210
1210
|
*/
|
|
1211
1211
|
get rotation(): number;
|
|
1212
1212
|
set rotation(value: number);
|
|
1213
1213
|
/** Gets or sets the transformation center on Y axis (0 by default)
|
|
1214
|
-
* @see https://doc.babylonjs.com/
|
|
1214
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
|
|
1215
1215
|
*/
|
|
1216
1216
|
get transformCenterY(): number;
|
|
1217
1217
|
set transformCenterY(value: number);
|
|
1218
1218
|
/** Gets or sets the transformation center on X axis (0 by default)
|
|
1219
|
-
* @see https://doc.babylonjs.com/
|
|
1219
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
|
|
1220
1220
|
*/
|
|
1221
1221
|
get transformCenterX(): number;
|
|
1222
1222
|
set transformCenterX(value: number);
|
|
1223
1223
|
/**
|
|
1224
1224
|
* Gets or sets the horizontal alignment
|
|
1225
|
-
* @see https://doc.babylonjs.com/
|
|
1225
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#alignments
|
|
1226
1226
|
*/
|
|
1227
1227
|
get horizontalAlignment(): number;
|
|
1228
1228
|
set horizontalAlignment(value: number);
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Gets or sets the vertical alignment
|
|
1231
|
-
* @see https://doc.babylonjs.com/
|
|
1231
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#alignments
|
|
1232
1232
|
*/
|
|
1233
1233
|
get verticalAlignment(): number;
|
|
1234
1234
|
set verticalAlignment(value: number);
|
|
@@ -1242,25 +1242,25 @@ declare module BABYLON.GUI {
|
|
|
1242
1242
|
protected _fixedRatioMasterIsWidth: boolean;
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Gets or sets control width
|
|
1245
|
-
* @see https://doc.babylonjs.com/
|
|
1245
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1246
1246
|
*/
|
|
1247
1247
|
get width(): string | number;
|
|
1248
1248
|
set width(value: string | number);
|
|
1249
1249
|
/**
|
|
1250
1250
|
* Gets or sets the control width in pixel
|
|
1251
|
-
* @see https://doc.babylonjs.com/
|
|
1251
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1252
1252
|
*/
|
|
1253
1253
|
get widthInPixels(): number;
|
|
1254
1254
|
set widthInPixels(value: number);
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Gets or sets control height
|
|
1257
|
-
* @see https://doc.babylonjs.com/
|
|
1257
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1258
1258
|
*/
|
|
1259
1259
|
get height(): string | number;
|
|
1260
1260
|
set height(value: string | number);
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Gets or sets control height in pixel
|
|
1263
|
-
* @see https://doc.babylonjs.com/
|
|
1263
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1264
1264
|
*/
|
|
1265
1265
|
get heightInPixels(): number;
|
|
1266
1266
|
set heightInPixels(value: number);
|
|
@@ -1275,7 +1275,7 @@ declare module BABYLON.GUI {
|
|
|
1275
1275
|
set fontWeight(value: string);
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Gets or sets style
|
|
1278
|
-
* @see https://doc.babylonjs.com/
|
|
1278
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
|
|
1279
1279
|
*/
|
|
1280
1280
|
get style(): BABYLON.Nullable<Style>;
|
|
1281
1281
|
set style(value: BABYLON.Nullable<Style>);
|
|
@@ -1313,13 +1313,13 @@ declare module BABYLON.GUI {
|
|
|
1313
1313
|
set descendantsOnlyPadding(value: boolean);
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
1316
|
-
* @see https://doc.babylonjs.com/
|
|
1316
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1317
1317
|
*/
|
|
1318
1318
|
get paddingLeft(): string | number;
|
|
1319
1319
|
set paddingLeft(value: string | number);
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Gets or sets a value indicating the padding in pixels to use on the left of the control
|
|
1322
|
-
* @see https://doc.babylonjs.com/
|
|
1322
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1323
1323
|
*/
|
|
1324
1324
|
get paddingLeftInPixels(): number;
|
|
1325
1325
|
set paddingLeftInPixels(value: number);
|
|
@@ -1327,13 +1327,13 @@ declare module BABYLON.GUI {
|
|
|
1327
1327
|
get _paddingLeftInPixels(): number;
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
1330
|
-
* @see https://doc.babylonjs.com/
|
|
1330
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1331
1331
|
*/
|
|
1332
1332
|
get paddingRight(): string | number;
|
|
1333
1333
|
set paddingRight(value: string | number);
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Gets or sets a value indicating the padding in pixels to use on the right of the control
|
|
1336
|
-
* @see https://doc.babylonjs.com/
|
|
1336
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1337
1337
|
*/
|
|
1338
1338
|
get paddingRightInPixels(): number;
|
|
1339
1339
|
set paddingRightInPixels(value: number);
|
|
@@ -1341,13 +1341,13 @@ declare module BABYLON.GUI {
|
|
|
1341
1341
|
get _paddingRightInPixels(): number;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
1344
|
-
* @see https://doc.babylonjs.com/
|
|
1344
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1345
1345
|
*/
|
|
1346
1346
|
get paddingTop(): string | number;
|
|
1347
1347
|
set paddingTop(value: string | number);
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Gets or sets a value indicating the padding in pixels to use on the top of the control
|
|
1350
|
-
* @see https://doc.babylonjs.com/
|
|
1350
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1351
1351
|
*/
|
|
1352
1352
|
get paddingTopInPixels(): number;
|
|
1353
1353
|
set paddingTopInPixels(value: number);
|
|
@@ -1355,13 +1355,13 @@ declare module BABYLON.GUI {
|
|
|
1355
1355
|
get _paddingTopInPixels(): number;
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
1358
|
-
* @see https://doc.babylonjs.com/
|
|
1358
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1359
1359
|
*/
|
|
1360
1360
|
get paddingBottom(): string | number;
|
|
1361
1361
|
set paddingBottom(value: string | number);
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Gets or sets a value indicating the padding in pixels to use on the bottom of the control
|
|
1364
|
-
* @see https://doc.babylonjs.com/
|
|
1364
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1365
1365
|
*/
|
|
1366
1366
|
get paddingBottomInPixels(): number;
|
|
1367
1367
|
set paddingBottomInPixels(value: number);
|
|
@@ -1369,49 +1369,49 @@ declare module BABYLON.GUI {
|
|
|
1369
1369
|
get _paddingBottomInPixels(): number;
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Gets or sets a value indicating the left coordinate of the control
|
|
1372
|
-
* @see https://doc.babylonjs.com/
|
|
1372
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1373
1373
|
*/
|
|
1374
1374
|
get left(): string | number;
|
|
1375
1375
|
set left(value: string | number);
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Gets or sets a value indicating the left coordinate in pixels of the control
|
|
1378
|
-
* @see https://doc.babylonjs.com/
|
|
1378
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1379
1379
|
*/
|
|
1380
1380
|
get leftInPixels(): number;
|
|
1381
1381
|
set leftInPixels(value: number);
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Gets or sets a value indicating the top coordinate of the control
|
|
1384
|
-
* @see https://doc.babylonjs.com/
|
|
1384
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1385
1385
|
*/
|
|
1386
1386
|
get top(): string | number;
|
|
1387
1387
|
set top(value: string | number);
|
|
1388
1388
|
/**
|
|
1389
1389
|
* Gets or sets a value indicating the top coordinate in pixels of the control
|
|
1390
|
-
* @see https://doc.babylonjs.com/
|
|
1390
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1391
1391
|
*/
|
|
1392
1392
|
get topInPixels(): number;
|
|
1393
1393
|
set topInPixels(value: number);
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Gets or sets a value indicating the offset on X axis to the linked mesh
|
|
1396
|
-
* @see https://doc.babylonjs.com/
|
|
1396
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
|
|
1397
1397
|
*/
|
|
1398
1398
|
get linkOffsetX(): string | number;
|
|
1399
1399
|
set linkOffsetX(value: string | number);
|
|
1400
1400
|
/**
|
|
1401
1401
|
* Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
|
|
1402
|
-
* @see https://doc.babylonjs.com/
|
|
1402
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
|
|
1403
1403
|
*/
|
|
1404
1404
|
get linkOffsetXInPixels(): number;
|
|
1405
1405
|
set linkOffsetXInPixels(value: number);
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Gets or sets a value indicating the offset on Y axis to the linked mesh
|
|
1408
|
-
* @see https://doc.babylonjs.com/
|
|
1408
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
|
|
1409
1409
|
*/
|
|
1410
1410
|
get linkOffsetY(): string | number;
|
|
1411
1411
|
set linkOffsetY(value: string | number);
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
|
|
1414
|
-
* @see https://doc.babylonjs.com/
|
|
1414
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
|
|
1415
1415
|
*/
|
|
1416
1416
|
get linkOffsetYInPixels(): number;
|
|
1417
1417
|
set linkOffsetYInPixels(value: number);
|
|
@@ -1432,7 +1432,7 @@ declare module BABYLON.GUI {
|
|
|
1432
1432
|
* Gets/sets the overlap group of the control.
|
|
1433
1433
|
* Controls with overlapGroup set to a number can be deoverlapped.
|
|
1434
1434
|
* Controls with overlapGroup set to undefined are not deoverlapped.
|
|
1435
|
-
* @see https://doc.babylonjs.com/
|
|
1435
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#deoverlapping
|
|
1436
1436
|
*/
|
|
1437
1437
|
overlapGroup?: number;
|
|
1438
1438
|
/**
|
|
@@ -1517,7 +1517,7 @@ declare module BABYLON.GUI {
|
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Link current control with a target mesh
|
|
1519
1519
|
* @param mesh defines the mesh to link with
|
|
1520
|
-
* @see https://doc.babylonjs.com/
|
|
1520
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
|
|
1521
1521
|
*/
|
|
1522
1522
|
linkWithMesh(mesh: BABYLON.Nullable<BABYLON.TransformNode>): void;
|
|
1523
1523
|
/**
|
|
@@ -1526,7 +1526,7 @@ declare module BABYLON.GUI {
|
|
|
1526
1526
|
* @param { string | number} paddingRight - The value of the right padding. If omitted, top is used.
|
|
1527
1527
|
* @param { string | number} paddingBottom - The value of the bottom padding. If omitted, top is used.
|
|
1528
1528
|
* @param { string | number} paddingLeft - The value of the left padding. If omitted, right is used.
|
|
1529
|
-
* @see https://doc.babylonjs.com/
|
|
1529
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1530
1530
|
*/
|
|
1531
1531
|
setPadding(paddingTop: string | number, paddingRight?: string | number, paddingBottom?: string | number, paddingLeft?: string | number): void;
|
|
1532
1532
|
/**
|
|
@@ -1535,7 +1535,7 @@ declare module BABYLON.GUI {
|
|
|
1535
1535
|
* @param { number} paddingRight - The value in pixels of the right padding. If omitted, top is used.
|
|
1536
1536
|
* @param { number} paddingBottom - The value in pixels of the bottom padding. If omitted, top is used.
|
|
1537
1537
|
* @param { number} paddingLeft - The value in pixels of the left padding. If omitted, right is used.
|
|
1538
|
-
* @see https://doc.babylonjs.com/
|
|
1538
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
|
|
1539
1539
|
*/
|
|
1540
1540
|
setPaddingInPixels(paddingTop: number, paddingRight?: number, paddingBottom?: number, paddingLeft?: number): void;
|
|
1541
1541
|
/**
|
|
@@ -2131,7 +2131,7 @@ declare module BABYLON.GUI {
|
|
|
2131
2131
|
get svgAttributesComputationCompleted(): boolean;
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Gets or sets a boolean indicating if the image can force its container to adapt its size
|
|
2134
|
-
* @see https://doc.babylonjs.com/
|
|
2134
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
|
|
2135
2135
|
*/
|
|
2136
2136
|
get autoScale(): boolean;
|
|
2137
2137
|
set autoScale(value: boolean);
|
|
@@ -2173,19 +2173,19 @@ declare module BABYLON.GUI {
|
|
|
2173
2173
|
private _getSVGAttribs;
|
|
2174
2174
|
/**
|
|
2175
2175
|
* Gets or sets the cell width to use when animation sheet is enabled
|
|
2176
|
-
* @see https://doc.babylonjs.com/
|
|
2176
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
|
|
2177
2177
|
*/
|
|
2178
2178
|
get cellWidth(): number;
|
|
2179
2179
|
set cellWidth(value: number);
|
|
2180
2180
|
/**
|
|
2181
2181
|
* Gets or sets the cell height to use when animation sheet is enabled
|
|
2182
|
-
* @see https://doc.babylonjs.com/
|
|
2182
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
|
|
2183
2183
|
*/
|
|
2184
2184
|
get cellHeight(): number;
|
|
2185
2185
|
set cellHeight(value: number);
|
|
2186
2186
|
/**
|
|
2187
2187
|
* Gets or sets the cell id to use (this will turn on the animation sheet mode)
|
|
2188
|
-
* @see https://doc.babylonjs.com/
|
|
2188
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
|
|
2189
2189
|
*/
|
|
2190
2190
|
get cellId(): number;
|
|
2191
2191
|
set cellId(value: number);
|
|
@@ -3125,7 +3125,7 @@ declare module BABYLON.GUI {
|
|
|
3125
3125
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3126
3126
|
}
|
|
3127
3127
|
/** Class used to hold the controls for the checkboxes, radio buttons and sliders
|
|
3128
|
-
* @see https://doc.babylonjs.com/
|
|
3128
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/selector
|
|
3129
3129
|
*/
|
|
3130
3130
|
export class SelectionPanel extends Rectangle {
|
|
3131
3131
|
/** name of SelectionPanel */
|
|
@@ -3723,6 +3723,7 @@ declare module BABYLON.GUI {
|
|
|
3723
3723
|
*/
|
|
3724
3724
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3725
3725
|
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
3726
|
+
private _linesTemp;
|
|
3726
3727
|
protected _breakLines(refWidth: number, refHeight: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
3727
3728
|
protected _parseLine(line: string | undefined, context: BABYLON.ICanvasRenderingContext): object;
|
|
3728
3729
|
private _getCharsToRemove;
|
|
@@ -4240,7 +4241,7 @@ declare module BABYLON.GUI {
|
|
|
4240
4241
|
private _originalUnit;
|
|
4241
4242
|
/**
|
|
4242
4243
|
* Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
|
|
4243
|
-
* @see https://doc.babylonjs.com/
|
|
4244
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
|
4244
4245
|
*/
|
|
4245
4246
|
ignoreAdaptiveScaling: boolean;
|
|
4246
4247
|
/**
|
|
@@ -4646,19 +4647,19 @@ declare module BABYLON.GUI {
|
|
|
4646
4647
|
private _behaviors;
|
|
4647
4648
|
/**
|
|
4648
4649
|
* Gets the list of attached behaviors
|
|
4649
|
-
* @see https://doc.babylonjs.com/features/
|
|
4650
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
|
|
4650
4651
|
*/
|
|
4651
4652
|
get behaviors(): BABYLON.Behavior<Control3D>[];
|
|
4652
4653
|
/**
|
|
4653
4654
|
* Attach a behavior to the control
|
|
4654
|
-
* @see https://doc.babylonjs.com/features/
|
|
4655
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
|
|
4655
4656
|
* @param behavior defines the behavior to attach
|
|
4656
4657
|
* @returns the current control
|
|
4657
4658
|
*/
|
|
4658
4659
|
addBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
4659
4660
|
/**
|
|
4660
4661
|
* Remove an attached behavior
|
|
4661
|
-
* @see https://doc.babylonjs.com/features/
|
|
4662
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
|
|
4662
4663
|
* @param behavior defines the behavior to attach
|
|
4663
4664
|
* @returns the current control
|
|
4664
4665
|
*/
|
|
@@ -4666,7 +4667,7 @@ declare module BABYLON.GUI {
|
|
|
4666
4667
|
/**
|
|
4667
4668
|
* Gets an attached behavior by name
|
|
4668
4669
|
* @param name defines the name of the behavior to look for
|
|
4669
|
-
* @see https://doc.babylonjs.com/features/
|
|
4670
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
|
|
4670
4671
|
* @returns null if behavior was not found else the requested behavior
|
|
4671
4672
|
*/
|
|
4672
4673
|
getBehaviorByName(name: string): BABYLON.Nullable<BABYLON.Behavior<Control3D>>;
|
|
@@ -5912,7 +5913,7 @@ declare module BABYLON.GUI {
|
|
|
5912
5913
|
|
|
5913
5914
|
/**
|
|
5914
5915
|
* Class used to manage 3D user interface
|
|
5915
|
-
* @see https://doc.babylonjs.com/
|
|
5916
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui3D
|
|
5916
5917
|
*/
|
|
5917
5918
|
export class GUI3DManager implements BABYLON.IDisposable {
|
|
5918
5919
|
private _scene;
|
|
@@ -6983,6 +6984,9 @@ declare module BABYLON.GUI {
|
|
|
6983
6984
|
*/
|
|
6984
6985
|
static BLUE_GRADIENT_TEXTURE_URL: string;
|
|
6985
6986
|
private _blueGradientTexture;
|
|
6987
|
+
private _decalTexture;
|
|
6988
|
+
private _reflectionMapTexture;
|
|
6989
|
+
private _indirectEnvTexture;
|
|
6986
6990
|
/**
|
|
6987
6991
|
* Gets or sets the corner Radius on the slider bar.
|
|
6988
6992
|
*/
|
|
@@ -7305,6 +7309,9 @@ declare module BABYLON.GUI {
|
|
|
7305
7309
|
*/
|
|
7306
7310
|
static BLUE_GRADIENT_TEXTURE_URL: string;
|
|
7307
7311
|
private _blueGradientTexture;
|
|
7312
|
+
private _decalTexture;
|
|
7313
|
+
private _reflectionMapTexture;
|
|
7314
|
+
private _indirectEnvTexture;
|
|
7308
7315
|
/**
|
|
7309
7316
|
* Gets or sets the corner Radius on the slider thumb.
|
|
7310
7317
|
*/
|