@babylonjs/gui 5.32.1 → 5.33.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/2D/advancedDynamicTexture.d.ts +7 -7
- package/2D/advancedDynamicTexture.js +7 -7
- package/2D/advancedDynamicTexture.js.map +1 -1
- package/2D/controls/colorpicker.d.ts +2 -2
- package/2D/controls/colorpicker.js +2 -2
- package/2D/controls/colorpicker.js.map +1 -1
- package/2D/controls/container.d.ts +1 -1
- package/2D/controls/container.js +1 -1
- package/2D/controls/container.js.map +1 -1
- package/2D/controls/control.d.ts +33 -33
- package/2D/controls/control.js +32 -32
- package/2D/controls/control.js.map +1 -1
- package/2D/controls/image.d.ts +4 -4
- package/2D/controls/image.js +4 -4
- package/2D/controls/image.js.map +1 -1
- package/2D/controls/selector.d.ts +1 -1
- package/2D/controls/selector.js +1 -1
- package/2D/controls/selector.js.map +1 -1
- package/2D/controls/textBlock.d.ts +1 -0
- package/2D/controls/textBlock.js +7 -6
- package/2D/controls/textBlock.js.map +1 -1
- package/2D/valueAndUnit.d.ts +1 -1
- package/2D/valueAndUnit.js +1 -1
- package/2D/valueAndUnit.js.map +1 -1
- package/3D/controls/control3D.d.ts +4 -4
- package/3D/controls/control3D.js +4 -4
- package/3D/controls/control3D.js.map +1 -1
- package/3D/gui3DManager.d.ts +1 -1
- package/3D/gui3DManager.js +1 -1
- package/3D/gui3DManager.js.map +1 -1
- package/3D/materials/mrdl/mrdlSliderBarMaterial.d.ts +3 -0
- package/3D/materials/mrdl/mrdlSliderBarMaterial.js +10 -3
- package/3D/materials/mrdl/mrdlSliderBarMaterial.js.map +1 -1
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.d.ts +3 -0
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.js +7 -3
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +1 -1
@@ -15,7 +15,7 @@ import { Style } from "./style";
|
|
15
15
|
import { Viewport } from "@babylonjs/core/Maths/math.viewport.js";
|
16
16
|
/**
|
17
17
|
* Class used to create texture to support 2D GUI elements
|
18
|
-
* @see https://doc.babylonjs.com/
|
18
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui
|
19
19
|
*/
|
20
20
|
export declare class AdvancedDynamicTexture extends DynamicTexture {
|
21
21
|
/** Define the Uurl to load snippets */
|
@@ -127,32 +127,32 @@ export declare class AdvancedDynamicTexture extends DynamicTexture {
|
|
127
127
|
/**
|
128
128
|
* Gets or sets the ideal width used to design controls.
|
129
129
|
* The GUI will then rescale everything accordingly
|
130
|
-
* @see https://doc.babylonjs.com/
|
130
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
131
131
|
*/
|
132
132
|
get idealWidth(): number;
|
133
133
|
set idealWidth(value: number);
|
134
134
|
/**
|
135
135
|
* Gets or sets the ideal height used to design controls.
|
136
136
|
* The GUI will then rescale everything accordingly
|
137
|
-
* @see https://doc.babylonjs.com/
|
137
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
138
138
|
*/
|
139
139
|
get idealHeight(): number;
|
140
140
|
set idealHeight(value: number);
|
141
141
|
/**
|
142
142
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
143
|
-
* @see https://doc.babylonjs.com/
|
143
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
144
144
|
*/
|
145
145
|
get useSmallestIdeal(): boolean;
|
146
146
|
set useSmallestIdeal(value: boolean);
|
147
147
|
/**
|
148
148
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
149
|
-
* @see https://doc.babylonjs.com/
|
149
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
150
150
|
*/
|
151
151
|
get renderAtIdealSize(): boolean;
|
152
152
|
set renderAtIdealSize(value: boolean);
|
153
153
|
/**
|
154
154
|
* Gets the ratio used when in "ideal mode"
|
155
|
-
* @see https://doc.babylonjs.com/
|
155
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
156
156
|
* */
|
157
157
|
get idealRatio(): number;
|
158
158
|
/**
|
@@ -255,7 +255,7 @@ export declare class AdvancedDynamicTexture extends DynamicTexture {
|
|
255
255
|
/**
|
256
256
|
* Helper function used to create a new style
|
257
257
|
* @returns a new style
|
258
|
-
* @see https://doc.babylonjs.com/
|
258
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
|
259
259
|
*/
|
260
260
|
createStyle(): Style;
|
261
261
|
/**
|
@@ -20,7 +20,7 @@ import { GetClass } from "@babylonjs/core/Misc/typeStore.js";
|
|
20
20
|
import { DecodeBase64ToBinary } from "@babylonjs/core/Misc/stringTools.js";
|
21
21
|
/**
|
22
22
|
* Class used to create texture to support 2D GUI elements
|
23
|
-
* @see https://doc.babylonjs.com/
|
23
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui
|
24
24
|
*/
|
25
25
|
export class AdvancedDynamicTexture extends DynamicTexture {
|
26
26
|
/**
|
@@ -204,7 +204,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
204
204
|
/**
|
205
205
|
* Gets or sets the ideal width used to design controls.
|
206
206
|
* The GUI will then rescale everything accordingly
|
207
|
-
* @see https://doc.babylonjs.com/
|
207
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
208
208
|
*/
|
209
209
|
get idealWidth() {
|
210
210
|
return this._idealWidth;
|
@@ -220,7 +220,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
220
220
|
/**
|
221
221
|
* Gets or sets the ideal height used to design controls.
|
222
222
|
* The GUI will then rescale everything accordingly
|
223
|
-
* @see https://doc.babylonjs.com/
|
223
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
224
224
|
*/
|
225
225
|
get idealHeight() {
|
226
226
|
return this._idealHeight;
|
@@ -235,7 +235,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
235
235
|
}
|
236
236
|
/**
|
237
237
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
238
|
-
* @see https://doc.babylonjs.com/
|
238
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
239
239
|
*/
|
240
240
|
get useSmallestIdeal() {
|
241
241
|
return this._useSmallestIdeal;
|
@@ -250,7 +250,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
250
250
|
}
|
251
251
|
/**
|
252
252
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
253
|
-
* @see https://doc.babylonjs.com/
|
253
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
254
254
|
*/
|
255
255
|
get renderAtIdealSize() {
|
256
256
|
return this._renderAtIdealSize;
|
@@ -264,7 +264,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
264
264
|
}
|
265
265
|
/**
|
266
266
|
* Gets the ratio used when in "ideal mode"
|
267
|
-
* @see https://doc.babylonjs.com/
|
267
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#adaptive-scaling
|
268
268
|
* */
|
269
269
|
get idealRatio() {
|
270
270
|
let rwidth = 0;
|
@@ -448,7 +448,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
448
448
|
/**
|
449
449
|
* Helper function used to create a new style
|
450
450
|
* @returns a new style
|
451
|
-
* @see https://doc.babylonjs.com/
|
451
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#styles
|
452
452
|
*/
|
453
453
|
createStyle() {
|
454
454
|
return new Style(this);
|