babylonjs-gui 5.32.1 → 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.js CHANGED
@@ -480,7 +480,7 @@ __webpack_require__.r(__webpack_exports__);
480
480
 
481
481
  /**
482
482
  * Class used to create texture to support 2D GUI elements
483
- * @see https://doc.babylonjs.com/how_to/gui
483
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui
484
484
  */
485
485
  var AdvancedDynamicTexture = /** @class */ (function (_super) {
486
486
  (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(AdvancedDynamicTexture, _super);
@@ -688,7 +688,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
688
688
  /**
689
689
  * Gets or sets the ideal width used to design controls.
690
690
  * The GUI will then rescale everything accordingly
691
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
691
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
692
692
  */
693
693
  get: function () {
694
694
  return this._idealWidth;
@@ -708,7 +708,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
708
708
  /**
709
709
  * Gets or sets the ideal height used to design controls.
710
710
  * The GUI will then rescale everything accordingly
711
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
711
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
712
712
  */
713
713
  get: function () {
714
714
  return this._idealHeight;
@@ -727,7 +727,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
727
727
  Object.defineProperty(AdvancedDynamicTexture.prototype, "useSmallestIdeal", {
728
728
  /**
729
729
  * Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
730
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
730
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
731
731
  */
732
732
  get: function () {
733
733
  return this._useSmallestIdeal;
@@ -746,7 +746,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
746
746
  Object.defineProperty(AdvancedDynamicTexture.prototype, "renderAtIdealSize", {
747
747
  /**
748
748
  * Gets or sets a boolean indicating if adaptive scaling must be used
749
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
749
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
750
750
  */
751
751
  get: function () {
752
752
  return this._renderAtIdealSize;
@@ -764,7 +764,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
764
764
  Object.defineProperty(AdvancedDynamicTexture.prototype, "idealRatio", {
765
765
  /**
766
766
  * Gets the ratio used when in "ideal mode"
767
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
767
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
768
768
  * */
769
769
  get: function () {
770
770
  var rwidth = 0;
@@ -976,7 +976,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
976
976
  /**
977
977
  * Helper function used to create a new style
978
978
  * @returns a new style
979
- * @see https://doc.babylonjs.com/how_to/gui#styles
979
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
980
980
  */
981
981
  AdvancedDynamicTexture.prototype.createStyle = function () {
982
982
  return new _style__WEBPACK_IMPORTED_MODULE_4__.Style(this);
@@ -2488,7 +2488,7 @@ var ColorPicker = /** @class */ (function (_super) {
2488
2488
  Object.defineProperty(ColorPicker.prototype, "width", {
2489
2489
  /**
2490
2490
  * Gets or sets control width
2491
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
2491
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
2492
2492
  */
2493
2493
  get: function () {
2494
2494
  return this._width.toString(this._host);
@@ -2512,7 +2512,7 @@ var ColorPicker = /** @class */ (function (_super) {
2512
2512
  Object.defineProperty(ColorPicker.prototype, "height", {
2513
2513
  /**
2514
2514
  * Gets or sets control height
2515
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
2515
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
2516
2516
  */
2517
2517
  get: function () {
2518
2518
  return this._height.toString(this._host);
@@ -3849,7 +3849,7 @@ __webpack_require__.r(__webpack_exports__);
3849
3849
 
3850
3850
  /**
3851
3851
  * Root class for 2D containers
3852
- * @see https://doc.babylonjs.com/how_to/gui#containers
3852
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#containers
3853
3853
  */
3854
3854
  var Container = /** @class */ (function (_super) {
3855
3855
  (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(Container, _super);
@@ -4438,7 +4438,7 @@ __webpack_require__.r(__webpack_exports__);
4438
4438
 
4439
4439
  /**
4440
4440
  * Root class used for all 2D controls
4441
- * @see https://doc.babylonjs.com/how_to/gui#controls
4441
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#controls
4442
4442
  */
4443
4443
  var Control = /** @class */ (function () {
4444
4444
  // Functions
@@ -4837,7 +4837,7 @@ var Control = /** @class */ (function () {
4837
4837
  });
4838
4838
  Object.defineProperty(Control.prototype, "scaleX", {
4839
4839
  /** Gets or sets a value indicating the scale factor on X axis (1 by default)
4840
- * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
4840
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
4841
4841
  */
4842
4842
  get: function () {
4843
4843
  return this._scaleX;
@@ -4855,7 +4855,7 @@ var Control = /** @class */ (function () {
4855
4855
  });
4856
4856
  Object.defineProperty(Control.prototype, "scaleY", {
4857
4857
  /** Gets or sets a value indicating the scale factor on Y axis (1 by default)
4858
- * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
4858
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
4859
4859
  */
4860
4860
  get: function () {
4861
4861
  return this._scaleY;
@@ -4873,7 +4873,7 @@ var Control = /** @class */ (function () {
4873
4873
  });
4874
4874
  Object.defineProperty(Control.prototype, "rotation", {
4875
4875
  /** Gets or sets the rotation angle (0 by default)
4876
- * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
4876
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
4877
4877
  */
4878
4878
  get: function () {
4879
4879
  return this._rotation;
@@ -4891,7 +4891,7 @@ var Control = /** @class */ (function () {
4891
4891
  });
4892
4892
  Object.defineProperty(Control.prototype, "transformCenterY", {
4893
4893
  /** Gets or sets the transformation center on Y axis (0 by default)
4894
- * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
4894
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
4895
4895
  */
4896
4896
  get: function () {
4897
4897
  return this._transformCenterY;
@@ -4909,7 +4909,7 @@ var Control = /** @class */ (function () {
4909
4909
  });
4910
4910
  Object.defineProperty(Control.prototype, "transformCenterX", {
4911
4911
  /** Gets or sets the transformation center on X axis (0 by default)
4912
- * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
4912
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#rotation-and-scaling
4913
4913
  */
4914
4914
  get: function () {
4915
4915
  return this._transformCenterX;
@@ -4928,7 +4928,7 @@ var Control = /** @class */ (function () {
4928
4928
  Object.defineProperty(Control.prototype, "horizontalAlignment", {
4929
4929
  /**
4930
4930
  * Gets or sets the horizontal alignment
4931
- * @see https://doc.babylonjs.com/how_to/gui#alignments
4931
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#alignments
4932
4932
  */
4933
4933
  get: function () {
4934
4934
  return this._horizontalAlignment;
@@ -4946,7 +4946,7 @@ var Control = /** @class */ (function () {
4946
4946
  Object.defineProperty(Control.prototype, "verticalAlignment", {
4947
4947
  /**
4948
4948
  * Gets or sets the vertical alignment
4949
- * @see https://doc.babylonjs.com/how_to/gui#alignments
4949
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#alignments
4950
4950
  */
4951
4951
  get: function () {
4952
4952
  return this._verticalAlignment;
@@ -4964,7 +4964,7 @@ var Control = /** @class */ (function () {
4964
4964
  Object.defineProperty(Control.prototype, "width", {
4965
4965
  /**
4966
4966
  * Gets or sets control width
4967
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
4967
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
4968
4968
  */
4969
4969
  get: function () {
4970
4970
  return this._width.toString(this._host);
@@ -4984,7 +4984,7 @@ var Control = /** @class */ (function () {
4984
4984
  Object.defineProperty(Control.prototype, "widthInPixels", {
4985
4985
  /**
4986
4986
  * Gets or sets the control width in pixel
4987
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
4987
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
4988
4988
  */
4989
4989
  get: function () {
4990
4990
  return this._width.getValueInPixel(this._host, this._cachedParentMeasure.width);
@@ -5002,7 +5002,7 @@ var Control = /** @class */ (function () {
5002
5002
  Object.defineProperty(Control.prototype, "height", {
5003
5003
  /**
5004
5004
  * Gets or sets control height
5005
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5005
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5006
5006
  */
5007
5007
  get: function () {
5008
5008
  return this._height.toString(this._host);
@@ -5022,7 +5022,7 @@ var Control = /** @class */ (function () {
5022
5022
  Object.defineProperty(Control.prototype, "heightInPixels", {
5023
5023
  /**
5024
5024
  * Gets or sets control height in pixel
5025
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5025
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5026
5026
  */
5027
5027
  get: function () {
5028
5028
  return this._height.getValueInPixel(this._host, this._cachedParentMeasure.height);
@@ -5085,7 +5085,7 @@ var Control = /** @class */ (function () {
5085
5085
  Object.defineProperty(Control.prototype, "style", {
5086
5086
  /**
5087
5087
  * Gets or sets style
5088
- * @see https://doc.babylonjs.com/how_to/gui#styles
5088
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
5089
5089
  */
5090
5090
  get: function () {
5091
5091
  return this._style;
@@ -5254,7 +5254,7 @@ var Control = /** @class */ (function () {
5254
5254
  Object.defineProperty(Control.prototype, "paddingLeft", {
5255
5255
  /**
5256
5256
  * Gets or sets a value indicating the padding to use on the left of the control
5257
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5257
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5258
5258
  */
5259
5259
  get: function () {
5260
5260
  return this._paddingLeft.toString(this._host);
@@ -5270,7 +5270,7 @@ var Control = /** @class */ (function () {
5270
5270
  Object.defineProperty(Control.prototype, "paddingLeftInPixels", {
5271
5271
  /**
5272
5272
  * Gets or sets a value indicating the padding in pixels to use on the left of the control
5273
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5273
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5274
5274
  */
5275
5275
  get: function () {
5276
5276
  return this._paddingLeft.getValueInPixel(this._host, this._cachedParentMeasure.width);
@@ -5298,7 +5298,7 @@ var Control = /** @class */ (function () {
5298
5298
  Object.defineProperty(Control.prototype, "paddingRight", {
5299
5299
  /**
5300
5300
  * Gets or sets a value indicating the padding to use on the right of the control
5301
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5301
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5302
5302
  */
5303
5303
  get: function () {
5304
5304
  return this._paddingRight.toString(this._host);
@@ -5314,7 +5314,7 @@ var Control = /** @class */ (function () {
5314
5314
  Object.defineProperty(Control.prototype, "paddingRightInPixels", {
5315
5315
  /**
5316
5316
  * Gets or sets a value indicating the padding in pixels to use on the right of the control
5317
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5317
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5318
5318
  */
5319
5319
  get: function () {
5320
5320
  return this._paddingRight.getValueInPixel(this._host, this._cachedParentMeasure.width);
@@ -5342,7 +5342,7 @@ var Control = /** @class */ (function () {
5342
5342
  Object.defineProperty(Control.prototype, "paddingTop", {
5343
5343
  /**
5344
5344
  * Gets or sets a value indicating the padding to use on the top of the control
5345
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5345
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5346
5346
  */
5347
5347
  get: function () {
5348
5348
  return this._paddingTop.toString(this._host);
@@ -5358,7 +5358,7 @@ var Control = /** @class */ (function () {
5358
5358
  Object.defineProperty(Control.prototype, "paddingTopInPixels", {
5359
5359
  /**
5360
5360
  * Gets or sets a value indicating the padding in pixels to use on the top of the control
5361
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5361
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5362
5362
  */
5363
5363
  get: function () {
5364
5364
  return this._paddingTop.getValueInPixel(this._host, this._cachedParentMeasure.height);
@@ -5386,7 +5386,7 @@ var Control = /** @class */ (function () {
5386
5386
  Object.defineProperty(Control.prototype, "paddingBottom", {
5387
5387
  /**
5388
5388
  * Gets or sets a value indicating the padding to use on the bottom of the control
5389
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5389
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5390
5390
  */
5391
5391
  get: function () {
5392
5392
  return this._paddingBottom.toString(this._host);
@@ -5402,7 +5402,7 @@ var Control = /** @class */ (function () {
5402
5402
  Object.defineProperty(Control.prototype, "paddingBottomInPixels", {
5403
5403
  /**
5404
5404
  * Gets or sets a value indicating the padding in pixels to use on the bottom of the control
5405
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5405
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5406
5406
  */
5407
5407
  get: function () {
5408
5408
  return this._paddingBottom.getValueInPixel(this._host, this._cachedParentMeasure.height);
@@ -5430,7 +5430,7 @@ var Control = /** @class */ (function () {
5430
5430
  Object.defineProperty(Control.prototype, "left", {
5431
5431
  /**
5432
5432
  * Gets or sets a value indicating the left coordinate of the control
5433
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5433
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5434
5434
  */
5435
5435
  get: function () {
5436
5436
  return this._left.toString(this._host);
@@ -5446,7 +5446,7 @@ var Control = /** @class */ (function () {
5446
5446
  Object.defineProperty(Control.prototype, "leftInPixels", {
5447
5447
  /**
5448
5448
  * Gets or sets a value indicating the left coordinate in pixels of the control
5449
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5449
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5450
5450
  */
5451
5451
  get: function () {
5452
5452
  return this._left.getValueInPixel(this._host, this._cachedParentMeasure.width);
@@ -5463,7 +5463,7 @@ var Control = /** @class */ (function () {
5463
5463
  Object.defineProperty(Control.prototype, "top", {
5464
5464
  /**
5465
5465
  * Gets or sets a value indicating the top coordinate of the control
5466
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5466
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5467
5467
  */
5468
5468
  get: function () {
5469
5469
  return this._top.toString(this._host);
@@ -5479,7 +5479,7 @@ var Control = /** @class */ (function () {
5479
5479
  Object.defineProperty(Control.prototype, "topInPixels", {
5480
5480
  /**
5481
5481
  * Gets or sets a value indicating the top coordinate in pixels of the control
5482
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5482
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5483
5483
  */
5484
5484
  get: function () {
5485
5485
  return this._top.getValueInPixel(this._host, this._cachedParentMeasure.height);
@@ -5496,7 +5496,7 @@ var Control = /** @class */ (function () {
5496
5496
  Object.defineProperty(Control.prototype, "linkOffsetX", {
5497
5497
  /**
5498
5498
  * Gets or sets a value indicating the offset on X axis to the linked mesh
5499
- * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
5499
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
5500
5500
  */
5501
5501
  get: function () {
5502
5502
  return this._linkOffsetX.toString(this._host);
@@ -5512,7 +5512,7 @@ var Control = /** @class */ (function () {
5512
5512
  Object.defineProperty(Control.prototype, "linkOffsetXInPixels", {
5513
5513
  /**
5514
5514
  * Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
5515
- * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
5515
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
5516
5516
  */
5517
5517
  get: function () {
5518
5518
  return this._linkOffsetX.getValueInPixel(this._host, this._cachedParentMeasure.width);
@@ -5529,7 +5529,7 @@ var Control = /** @class */ (function () {
5529
5529
  Object.defineProperty(Control.prototype, "linkOffsetY", {
5530
5530
  /**
5531
5531
  * Gets or sets a value indicating the offset on Y axis to the linked mesh
5532
- * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
5532
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
5533
5533
  */
5534
5534
  get: function () {
5535
5535
  return this._linkOffsetY.toString(this._host);
@@ -5545,7 +5545,7 @@ var Control = /** @class */ (function () {
5545
5545
  Object.defineProperty(Control.prototype, "linkOffsetYInPixels", {
5546
5546
  /**
5547
5547
  * Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
5548
- * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
5548
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
5549
5549
  */
5550
5550
  get: function () {
5551
5551
  return this._linkOffsetY.getValueInPixel(this._host, this._cachedParentMeasure.height);
@@ -5765,7 +5765,7 @@ var Control = /** @class */ (function () {
5765
5765
  /**
5766
5766
  * Link current control with a target mesh
5767
5767
  * @param mesh defines the mesh to link with
5768
- * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
5768
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#tracking-positions
5769
5769
  */
5770
5770
  Control.prototype.linkWithMesh = function (mesh) {
5771
5771
  if (!this._host || (this.parent && this.parent !== this._host._rootContainer)) {
@@ -5796,7 +5796,7 @@ var Control = /** @class */ (function () {
5796
5796
  * @param { string | number} paddingRight - The value of the right padding. If omitted, top is used.
5797
5797
  * @param { string | number} paddingBottom - The value of the bottom padding. If omitted, top is used.
5798
5798
  * @param { string | number} paddingLeft - The value of the left padding. If omitted, right is used.
5799
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5799
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5800
5800
  */
5801
5801
  Control.prototype.setPadding = function (paddingTop, paddingRight, paddingBottom, paddingLeft) {
5802
5802
  var top = paddingTop;
@@ -5814,7 +5814,7 @@ var Control = /** @class */ (function () {
5814
5814
  * @param { number} paddingRight - The value in pixels of the right padding. If omitted, top is used.
5815
5815
  * @param { number} paddingBottom - The value in pixels of the bottom padding. If omitted, top is used.
5816
5816
  * @param { number} paddingLeft - The value in pixels of the left padding. If omitted, right is used.
5817
- * @see https://doc.babylonjs.com/how_to/gui#position-and-size
5817
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#position-and-size
5818
5818
  */
5819
5819
  Control.prototype.setPaddingInPixels = function (paddingTop, paddingRight, paddingBottom, paddingLeft) {
5820
5820
  var top = paddingTop;
@@ -8164,7 +8164,7 @@ var Image = /** @class */ (function (_super) {
8164
8164
  Object.defineProperty(Image.prototype, "autoScale", {
8165
8165
  /**
8166
8166
  * Gets or sets a boolean indicating if the image can force its container to adapt its size
8167
- * @see https://doc.babylonjs.com/how_to/gui#image
8167
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
8168
8168
  */
8169
8169
  get: function () {
8170
8170
  return this._autoScale;
@@ -8487,7 +8487,7 @@ var Image = /** @class */ (function (_super) {
8487
8487
  Object.defineProperty(Image.prototype, "cellWidth", {
8488
8488
  /**
8489
8489
  * Gets or sets the cell width to use when animation sheet is enabled
8490
- * @see https://doc.babylonjs.com/how_to/gui#image
8490
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
8491
8491
  */
8492
8492
  get: function () {
8493
8493
  return this._cellWidth;
@@ -8505,7 +8505,7 @@ var Image = /** @class */ (function (_super) {
8505
8505
  Object.defineProperty(Image.prototype, "cellHeight", {
8506
8506
  /**
8507
8507
  * Gets or sets the cell height to use when animation sheet is enabled
8508
- * @see https://doc.babylonjs.com/how_to/gui#image
8508
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
8509
8509
  */
8510
8510
  get: function () {
8511
8511
  return this._cellHeight;
@@ -8523,7 +8523,7 @@ var Image = /** @class */ (function (_super) {
8523
8523
  Object.defineProperty(Image.prototype, "cellId", {
8524
8524
  /**
8525
8525
  * Gets or sets the cell id to use (this will turn on the animation sheet mode)
8526
- * @see https://doc.babylonjs.com/how_to/gui#image
8526
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#image
8527
8527
  */
8528
8528
  get: function () {
8529
8529
  return this._cellId;
@@ -13465,7 +13465,7 @@ var SliderGroup = /** @class */ (function (_super) {
13465
13465
  }(SelectorGroup));
13466
13466
 
13467
13467
  /** Class used to hold the controls for the checkboxes, radio buttons and sliders
13468
- * @see https://doc.babylonjs.com/how_to/selector
13468
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/selector
13469
13469
  */
13470
13470
  var SelectionPanel = /** @class */ (function (_super) {
13471
13471
  (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SelectionPanel, _super);
@@ -15559,6 +15559,7 @@ var TextBlock = /** @class */ (function (_super) {
15559
15559
  * An event triggered after the text was broken up into lines
15560
15560
  */
15561
15561
  _this.onLinesReadyObservable = new core_Misc_observable__WEBPACK_IMPORTED_MODULE_1__.Observable();
15562
+ _this._linesTemp = [];
15562
15563
  _this.text = text;
15563
15564
  return _this;
15564
15565
  }
@@ -15899,33 +15900,34 @@ var TextBlock = /** @class */ (function (_super) {
15899
15900
  }
15900
15901
  };
15901
15902
  TextBlock.prototype._breakLines = function (refWidth, refHeight, context) {
15902
- var lines = [];
15903
+ var _a, _b;
15904
+ this._linesTemp.length = 0;
15903
15905
  var _lines = this.text.split("\n");
15904
15906
  if (this._textWrapping === TextWrapping.Ellipsis) {
15905
15907
  for (var _i = 0, _lines_1 = _lines; _i < _lines_1.length; _i++) {
15906
15908
  var _line = _lines_1[_i];
15907
- lines.push(this._parseLineEllipsis(_line, refWidth, context));
15909
+ this._linesTemp.push(this._parseLineEllipsis(_line, refWidth, context));
15908
15910
  }
15909
15911
  }
15910
15912
  else if (this._textWrapping === TextWrapping.WordWrap) {
15911
- for (var _a = 0, _lines_2 = _lines; _a < _lines_2.length; _a++) {
15912
- var _line = _lines_2[_a];
15913
- lines.push.apply(lines, this._parseLineWordWrap(_line, refWidth, context));
15913
+ for (var _c = 0, _lines_2 = _lines; _c < _lines_2.length; _c++) {
15914
+ var _line = _lines_2[_c];
15915
+ (_a = this._linesTemp).push.apply(_a, this._parseLineWordWrap(_line, refWidth, context));
15914
15916
  }
15915
15917
  }
15916
15918
  else if (this._textWrapping === TextWrapping.WordWrapEllipsis) {
15917
- for (var _b = 0, _lines_3 = _lines; _b < _lines_3.length; _b++) {
15918
- var _line = _lines_3[_b];
15919
- lines.push.apply(lines, this._parseLineWordWrapEllipsis(_line, refWidth, refHeight, context));
15919
+ for (var _d = 0, _lines_3 = _lines; _d < _lines_3.length; _d++) {
15920
+ var _line = _lines_3[_d];
15921
+ (_b = this._linesTemp).push.apply(_b, this._parseLineWordWrapEllipsis(_line, refWidth, refHeight, context));
15920
15922
  }
15921
15923
  }
15922
15924
  else {
15923
- for (var _c = 0, _lines_4 = _lines; _c < _lines_4.length; _c++) {
15924
- var _line = _lines_4[_c];
15925
- lines.push(this._parseLine(_line, context));
15925
+ for (var _e = 0, _lines_4 = _lines; _e < _lines_4.length; _e++) {
15926
+ var _line = _lines_4[_e];
15927
+ this._linesTemp.push(this._parseLine(_line, context));
15926
15928
  }
15927
15929
  }
15928
- return lines;
15930
+ return this._linesTemp;
15929
15931
  };
15930
15932
  TextBlock.prototype._parseLine = function (line, context) {
15931
15933
  if (line === void 0) { line = ""; }
@@ -17583,7 +17585,7 @@ var ValueAndUnit = /** @class */ (function () {
17583
17585
  this._unit = ValueAndUnit.UNITMODE_PIXEL;
17584
17586
  /**
17585
17587
  * Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
17586
- * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
17588
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
17587
17589
  */
17588
17590
  this.ignoreAdaptiveScaling = false;
17589
17591
  /**
@@ -19763,7 +19765,7 @@ var Control3D = /** @class */ (function () {
19763
19765
  Object.defineProperty(Control3D.prototype, "behaviors", {
19764
19766
  /**
19765
19767
  * Gets the list of attached behaviors
19766
- * @see https://doc.babylonjs.com/features/behaviour
19768
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
19767
19769
  */
19768
19770
  get: function () {
19769
19771
  return this._behaviors;
@@ -19773,7 +19775,7 @@ var Control3D = /** @class */ (function () {
19773
19775
  });
19774
19776
  /**
19775
19777
  * Attach a behavior to the control
19776
- * @see https://doc.babylonjs.com/features/behaviour
19778
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
19777
19779
  * @param behavior defines the behavior to attach
19778
19780
  * @returns the current control
19779
19781
  */
@@ -19799,7 +19801,7 @@ var Control3D = /** @class */ (function () {
19799
19801
  };
19800
19802
  /**
19801
19803
  * Remove an attached behavior
19802
- * @see https://doc.babylonjs.com/features/behaviour
19804
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
19803
19805
  * @param behavior defines the behavior to attach
19804
19806
  * @returns the current control
19805
19807
  */
@@ -19815,7 +19817,7 @@ var Control3D = /** @class */ (function () {
19815
19817
  /**
19816
19818
  * Gets an attached behavior by name
19817
19819
  * @param name defines the name of the behavior to look for
19818
- * @see https://doc.babylonjs.com/features/behaviour
19820
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/behaviors
19819
19821
  * @returns null if behavior was not found else the requested behavior
19820
19822
  */
19821
19823
  Control3D.prototype.getBehaviorByName = function (name) {
@@ -24016,7 +24018,7 @@ __webpack_require__.r(__webpack_exports__);
24016
24018
 
24017
24019
  /**
24018
24020
  * Class used to manage 3D user interface
24019
- * @see https://doc.babylonjs.com/how_to/gui3d
24021
+ * @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui3D
24020
24022
  */
24021
24023
  var GUI3DManager = /** @class */ (function () {
24022
24024
  /**
@@ -28085,6 +28087,9 @@ var MRDLSliderBarMaterial = /** @class */ (function (_super) {
28085
28087
  _this.alphaMode = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Constants.ALPHA_DISABLE;
28086
28088
  _this.backFaceCulling = false;
28087
28089
  _this._blueGradientTexture = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture(MRDLSliderBarMaterial.BLUE_GRADIENT_TEXTURE_URL, _this.getScene(), true, false, core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture.NEAREST_SAMPLINGMODE);
28090
+ _this._decalTexture = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", _this.getScene());
28091
+ _this._reflectionMapTexture = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", _this.getScene());
28092
+ _this._indirectEnvTexture = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", _this.getScene());
28088
28093
  return _this;
28089
28094
  }
28090
28095
  MRDLSliderBarMaterial.prototype.needAlphaBlending = function () {
@@ -28313,8 +28318,8 @@ var MRDLSliderBarMaterial = /** @class */ (function (_super) {
28313
28318
  this._activeEffect.setFloat("_Horizon_Power_", this.horizonPower);
28314
28319
  // "Mapped Environment"
28315
28320
  //define ENV_ENABLE false;
28316
- this._activeEffect.setTexture("_Reflection_Map_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
28317
- this._activeEffect.setTexture("_Indirect_Environment_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
28321
+ this._activeEffect.setTexture("_Reflection_Map_", this._reflectionMapTexture);
28322
+ this._activeEffect.setTexture("_Indirect_Environment_", this._indirectEnvTexture);
28318
28323
  // "FingerOcclusion"
28319
28324
  //define OCCLUSION_ENABLED false;
28320
28325
  this._activeEffect.setFloat("_Width_", this.width);
@@ -28351,7 +28356,7 @@ var MRDLSliderBarMaterial = /** @class */ (function (_super) {
28351
28356
  this._activeEffect.setVector3("_Right_Index_Middle_Pos_", this.rightIndexMiddlePosition);
28352
28357
  // "Decal Texture"
28353
28358
  //define DECAL_ENABLE false;
28354
- this._activeEffect.setTexture("_Decal_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
28359
+ this._activeEffect.setTexture("_Decal_", this._decalTexture);
28355
28360
  this._activeEffect.setVector2("_Decal_Scale_XY_", this.decalScaleXY);
28356
28361
  this._activeEffect.setFloat("_Decal_Front_Only_", this.decalFrontOnly ? 1.0 : 0.0);
28357
28362
  // "Rim Light"
@@ -28386,6 +28391,10 @@ var MRDLSliderBarMaterial = /** @class */ (function (_super) {
28386
28391
  };
28387
28392
  MRDLSliderBarMaterial.prototype.dispose = function (forceDisposeEffect) {
28388
28393
  _super.prototype.dispose.call(this, forceDisposeEffect);
28394
+ this._reflectionMapTexture.dispose();
28395
+ this._indirectEnvTexture.dispose();
28396
+ this._blueGradientTexture.dispose();
28397
+ this._decalTexture.dispose();
28389
28398
  };
28390
28399
  MRDLSliderBarMaterial.prototype.clone = function (name) {
28391
28400
  var _this = this;
@@ -29183,8 +29192,8 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
29183
29192
  this._activeEffect.setFloat("_Horizon_Power_", this.horizonPower);
29184
29193
  // "Mapped Environment"
29185
29194
  //define ENV_ENABLE false;
29186
- this._activeEffect.setTexture("_Reflection_Map_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
29187
- this._activeEffect.setTexture("_Indirect_Environment_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
29195
+ this._activeEffect.setTexture("_Reflection_Map_", this._reflectionMapTexture);
29196
+ this._activeEffect.setTexture("_Indirect_Environment_", this._indirectEnvTexture);
29188
29197
  // "FingerOcclusion"
29189
29198
  //define OCCLUSION_ENABLED false;
29190
29199
  this._activeEffect.setFloat("_Width_", this.width);
@@ -29221,7 +29230,7 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
29221
29230
  this._activeEffect.setVector3("_Right_Index_Middle_Pos_", this.rightIndexMiddlePosition);
29222
29231
  // "Decal Texture"
29223
29232
  //define DECAL_ENABLE false;
29224
- this._activeEffect.setTexture("_Decal_", new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_1__.Texture("", this.getScene()));
29233
+ this._activeEffect.setTexture("_Decal_", this._decalTexture);
29225
29234
  this._activeEffect.setVector2("_Decal_Scale_XY_", this.decalScaleXY);
29226
29235
  this._activeEffect.setFloat("_Decal_Front_Only_", this.decalFrontOnly ? 1.0 : 0.0);
29227
29236
  // "Rim Light"
@@ -29256,6 +29265,10 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
29256
29265
  };
29257
29266
  MRDLSliderThumbMaterial.prototype.dispose = function (forceDisposeEffect) {
29258
29267
  _super.prototype.dispose.call(this, forceDisposeEffect);
29268
+ this._reflectionMapTexture.dispose();
29269
+ this._indirectEnvTexture.dispose();
29270
+ this._blueGradientTexture.dispose();
29271
+ this._decalTexture.dispose();
29259
29272
  };
29260
29273
  MRDLSliderThumbMaterial.prototype.clone = function (name) {
29261
29274
  var _this = this;