|
@@ -2522,6 +2522,13 @@ var BABYLON;
|
|
|
enumerable: true,
|
|
|
configurable: true
|
|
|
});
|
|
|
+ Object.defineProperty(Slider.prototype, "barOffsetInPixels", {
|
|
|
+ get: function () {
|
|
|
+ return this._barOffset.getValueInPixel(this._host, this._cachedParentMeasure.width);
|
|
|
+ },
|
|
|
+ enumerable: true,
|
|
|
+ configurable: true
|
|
|
+ });
|
|
|
Object.defineProperty(Slider.prototype, "thumbWidth", {
|
|
|
get: function () {
|
|
|
return this._thumbWidth.toString(this._host);
|
|
@@ -2537,6 +2544,13 @@ var BABYLON;
|
|
|
enumerable: true,
|
|
|
configurable: true
|
|
|
});
|
|
|
+ Object.defineProperty(Slider.prototype, "thumbWidthInPixels", {
|
|
|
+ get: function () {
|
|
|
+ return this._thumbWidth.getValueInPixel(this._host, this._cachedParentMeasure.width);
|
|
|
+ },
|
|
|
+ enumerable: true,
|
|
|
+ configurable: true
|
|
|
+ });
|
|
|
Object.defineProperty(Slider.prototype, "minimum", {
|
|
|
get: function () {
|
|
|
return this._minimum;
|
|
@@ -3831,6 +3845,13 @@ var BABYLON;
|
|
|
enumerable: true,
|
|
|
configurable: true
|
|
|
});
|
|
|
+ Object.defineProperty(InputText.prototype, "maxWidthInPixels", {
|
|
|
+ get: function () {
|
|
|
+ return this._maxWidth.getValueInPixel(this._host, this._cachedParentMeasure.width);
|
|
|
+ },
|
|
|
+ enumerable: true,
|
|
|
+ configurable: true
|
|
|
+ });
|
|
|
Object.defineProperty(InputText.prototype, "margin", {
|
|
|
get: function () {
|
|
|
return this._margin.toString(this._host);
|
|
@@ -3846,6 +3867,13 @@ var BABYLON;
|
|
|
enumerable: true,
|
|
|
configurable: true
|
|
|
});
|
|
|
+ Object.defineProperty(InputText.prototype, "marginInPixels", {
|
|
|
+ get: function () {
|
|
|
+ return this._margin.getValueInPixel(this._host, this._cachedParentMeasure.width);
|
|
|
+ },
|
|
|
+ enumerable: true,
|
|
|
+ configurable: true
|
|
|
+ });
|
|
|
Object.defineProperty(InputText.prototype, "autoStretchWidth", {
|
|
|
get: function () {
|
|
|
return this._autoStretchWidth;
|