babylonjs-gui 9.22.2 → 9.23.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/babylon.gui.d.ts +3 -3
- package/babylon.gui.es5.js +8208 -0
- package/babylon.gui.js +1 -1
- 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 +34 -33
- package/package.json +2 -2
- package/rollup.config.umd.mjs +1 -0
package/babylon.gui.module.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export * from "babylonjs-gui/index";
|
|
|
15
15
|
|
|
16
16
|
}
|
|
17
17
|
declare module "babylonjs-gui/3D/vector3WithInfo" {
|
|
18
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
18
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
19
19
|
/**
|
|
20
20
|
* Class used to transport Vector3 information for pointer events
|
|
21
21
|
*/
|
|
@@ -53,7 +53,7 @@ export * from "babylonjs-gui/3D/vector3WithInfo";
|
|
|
53
53
|
declare module "babylonjs-gui/3D/gui3DManager" {
|
|
54
54
|
import { Nullable } from "babylonjs/types";
|
|
55
55
|
import { Observable } from "babylonjs/Misc/observable";
|
|
56
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
56
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
57
57
|
import { Material } from "babylonjs/Materials/material";
|
|
58
58
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
59
59
|
import { UtilityLayerRenderer } from "babylonjs/Rendering/utilityLayerRenderer";
|
|
@@ -1692,7 +1692,7 @@ import { Color4 } from "babylonjs/Maths/math.color.pure";
|
|
|
1692
1692
|
* @since 5.0.0
|
|
1693
1693
|
*/
|
|
1694
1694
|
export class FluentButtonMaterial extends PushMaterial {
|
|
1695
|
-
private
|
|
1695
|
+
private static readonly _ShaderLoader;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
1698
1698
|
*/
|
|
@@ -1950,7 +1950,7 @@ import { Color4 } from "babylonjs/Maths/math.color.pure";
|
|
|
1950
1950
|
* Class used to render square buttons with fluent design
|
|
1951
1951
|
*/
|
|
1952
1952
|
export class FluentBackplateMaterial extends PushMaterial {
|
|
1953
|
-
private
|
|
1953
|
+
private static readonly _ShaderLoader;
|
|
1954
1954
|
/**
|
|
1955
1955
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
1956
1956
|
*/
|
|
@@ -2181,7 +2181,7 @@ export class FluentMaterialDefines extends MaterialDefines {
|
|
|
2181
2181
|
* Class used to render controls with fluent design
|
|
2182
2182
|
*/
|
|
2183
2183
|
export class FluentMaterial extends PushMaterial {
|
|
2184
|
-
private
|
|
2184
|
+
private static readonly _ShaderLoader;
|
|
2185
2185
|
/**
|
|
2186
2186
|
* Gets or sets inner glow intensity. A value of 0 means no glow (default is 0.5)
|
|
2187
2187
|
*/
|
|
@@ -2381,8 +2381,8 @@ export * from "babylonjs-gui/3D/gizmos/gizmoHandle";
|
|
|
2381
2381
|
}
|
|
2382
2382
|
declare module "babylonjs-gui/3D/gizmos/gizmoHandle" {
|
|
2383
2383
|
import { Scene } from "babylonjs/scene";
|
|
2384
|
-
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
2385
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2384
|
+
import { TransformNode } from "babylonjs/Meshes/transformNode.pure";
|
|
2385
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
2386
2386
|
import { HandleMaterial } from "babylonjs-gui/3D/materials/handle/handleMaterial.pure";
|
|
2387
2387
|
import { SlateGizmo } from "babylonjs-gui/3D/gizmos/slateGizmo";
|
|
2388
2388
|
import { BaseSixDofDragBehavior } from "babylonjs/Behaviors/Meshes/baseSixDofDragBehavior";
|
|
@@ -2491,7 +2491,7 @@ export class CornerHandle extends GizmoHandle {
|
|
|
2491
2491
|
|
|
2492
2492
|
}
|
|
2493
2493
|
declare module "babylonjs-gui/3D/controls/volumeBasedPanel" {
|
|
2494
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2494
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
2495
2495
|
import { int } from "babylonjs/types";
|
|
2496
2496
|
import { Container3D } from "babylonjs-gui/3D/controls/container3D";
|
|
2497
2497
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
@@ -2577,7 +2577,7 @@ import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
|
2577
2577
|
import { Nullable } from "babylonjs/types";
|
|
2578
2578
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
2579
2579
|
import { VolumeBasedPanel } from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
2580
|
-
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
2580
|
+
import { Mesh } from "babylonjs/Meshes/mesh.pure";
|
|
2581
2581
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
2582
2582
|
import { Container3D } from "babylonjs-gui/3D/controls/container3D";
|
|
2583
2583
|
import { TouchHolographicButton } from "babylonjs-gui/3D/controls/touchHolographicButton";
|
|
@@ -2636,9 +2636,9 @@ export class TouchHolographicMenu extends VolumeBasedPanel {
|
|
|
2636
2636
|
}
|
|
2637
2637
|
declare module "babylonjs-gui/3D/controls/touchHolographicButton" {
|
|
2638
2638
|
import { Nullable } from "babylonjs/types";
|
|
2639
|
-
import { StandardMaterial } from "babylonjs/Materials/standardMaterial";
|
|
2640
|
-
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
2641
|
-
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
2639
|
+
import { StandardMaterial } from "babylonjs/Materials/standardMaterial.pure";
|
|
2640
|
+
import { TransformNode } from "babylonjs/Meshes/transformNode.pure";
|
|
2641
|
+
import { Mesh } from "babylonjs/Meshes/mesh.pure";
|
|
2642
2642
|
import { Scene } from "babylonjs/scene";
|
|
2643
2643
|
import { FluentMaterial } from "babylonjs-gui/3D/materials/fluent/fluentMaterial.pure";
|
|
2644
2644
|
import { FluentButtonMaterial } from "babylonjs-gui/3D/materials/fluentButton/fluentButtonMaterial.pure";
|
|
@@ -2748,7 +2748,7 @@ export class TouchHolographicButton extends TouchButton3D {
|
|
|
2748
2748
|
|
|
2749
2749
|
}
|
|
2750
2750
|
declare module "babylonjs-gui/3D/controls/touchButton3D" {
|
|
2751
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2751
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
2752
2752
|
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
2753
2753
|
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
2754
2754
|
import { Scene } from "babylonjs/scene";
|
|
@@ -2853,7 +2853,7 @@ export class StackPanel3D extends Container3D {
|
|
|
2853
2853
|
|
|
2854
2854
|
}
|
|
2855
2855
|
declare module "babylonjs-gui/3D/controls/spherePanel" {
|
|
2856
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2856
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
2857
2857
|
import { float } from "babylonjs/types";
|
|
2858
2858
|
import { VolumeBasedPanel } from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
2859
2859
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
@@ -2971,7 +2971,7 @@ export class Slider3D extends Control3D {
|
|
|
2971
2971
|
|
|
2972
2972
|
}
|
|
2973
2973
|
declare module "babylonjs-gui/3D/controls/scatterPanel" {
|
|
2974
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2974
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
2975
2975
|
import { float } from "babylonjs/types";
|
|
2976
2976
|
import { VolumeBasedPanel } from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
2977
2977
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
@@ -3018,7 +3018,7 @@ export { TouchHolographicButton as TouchHolographicButtonV3 } from "babylonjs-gu
|
|
|
3018
3018
|
|
|
3019
3019
|
}
|
|
3020
3020
|
declare module "babylonjs-gui/3D/controls/planePanel" {
|
|
3021
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
3021
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
3022
3022
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
3023
3023
|
import { VolumeBasedPanel } from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
3024
3024
|
/**
|
|
@@ -3101,6 +3101,7 @@ export class MeshButton3D extends Button3D {
|
|
|
3101
3101
|
|
|
3102
3102
|
}
|
|
3103
3103
|
declare module "babylonjs-gui/3D/controls/index" {
|
|
3104
|
+
import "babylonjs/Materials/standardMaterial";
|
|
3104
3105
|
export * from "babylonjs-gui/3D/controls/abstractButton3D";
|
|
3105
3106
|
export * from "babylonjs-gui/3D/controls/button3D";
|
|
3106
3107
|
export * from "babylonjs-gui/3D/controls/container3D";
|
|
@@ -3131,10 +3132,10 @@ import { TouchHolographicButton } from "babylonjs-gui/3D/controls/touchHolograph
|
|
|
3131
3132
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
3132
3133
|
import { DefaultBehavior } from "babylonjs-gui/3D/behaviors/defaultBehavior";
|
|
3133
3134
|
import { SlateGizmo } from "babylonjs-gui/3D/gizmos/slateGizmo";
|
|
3134
|
-
import { Vector2, Vector3 } from "babylonjs/Maths/math.vector";
|
|
3135
|
+
import { Vector2, Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
3135
3136
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
3136
3137
|
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3137
|
-
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
3138
|
+
import { Mesh } from "babylonjs/Meshes/mesh.pure";
|
|
3138
3139
|
import { Scene } from "babylonjs/scene";
|
|
3139
3140
|
/**
|
|
3140
3141
|
* Class used to create a holographic slate
|
|
@@ -3265,9 +3266,9 @@ export class HolographicSlate extends ContentDisplay3D {
|
|
|
3265
3266
|
declare module "babylonjs-gui/3D/controls/holographicButton" {
|
|
3266
3267
|
import { Button3D } from "babylonjs-gui/3D/controls/button3D";
|
|
3267
3268
|
import { Nullable } from "babylonjs/types";
|
|
3268
|
-
import { StandardMaterial } from "babylonjs/Materials/standardMaterial";
|
|
3269
|
+
import { StandardMaterial } from "babylonjs/Materials/standardMaterial.pure";
|
|
3269
3270
|
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3270
|
-
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
3271
|
+
import { Mesh } from "babylonjs/Meshes/mesh.pure";
|
|
3271
3272
|
import { Scene } from "babylonjs/scene";
|
|
3272
3273
|
import { FluentMaterial } from "babylonjs-gui/3D/materials/fluent/fluentMaterial.pure";
|
|
3273
3274
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
@@ -3433,7 +3434,7 @@ export class HandMenu extends TouchHolographicMenu {
|
|
|
3433
3434
|
|
|
3434
3435
|
}
|
|
3435
3436
|
declare module "babylonjs-gui/3D/controls/cylinderPanel" {
|
|
3436
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
3437
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
3437
3438
|
import { float } from "babylonjs/types";
|
|
3438
3439
|
import { VolumeBasedPanel } from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
3439
3440
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
@@ -3455,9 +3456,9 @@ export class CylinderPanel extends VolumeBasedPanel {
|
|
|
3455
3456
|
declare module "babylonjs-gui/3D/controls/control3D" {
|
|
3456
3457
|
import { Nullable } from "babylonjs/types";
|
|
3457
3458
|
import { Observable } from "babylonjs/Misc/observable";
|
|
3458
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
3459
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
3459
3460
|
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3460
|
-
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
3461
|
+
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh.pure";
|
|
3461
3462
|
import { IBehaviorAware, Behavior } from "babylonjs/Behaviors/behavior";
|
|
3462
3463
|
import { IDisposable, Scene } from "babylonjs/scene";
|
|
3463
3464
|
import { GUI3DManager } from "babylonjs-gui/3D/gui3DManager";
|
|
@@ -3685,7 +3686,7 @@ export class ContentDisplay3D extends Control3D {
|
|
|
3685
3686
|
}
|
|
3686
3687
|
declare module "babylonjs-gui/3D/controls/container3D" {
|
|
3687
3688
|
import { Nullable } from "babylonjs/types";
|
|
3688
|
-
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3689
|
+
import { TransformNode } from "babylonjs/Meshes/transformNode.pure";
|
|
3689
3690
|
import { Scene } from "babylonjs/scene";
|
|
3690
3691
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
3691
3692
|
/**
|
|
@@ -3813,7 +3814,7 @@ export class Button3D extends AbstractButton3D {
|
|
|
3813
3814
|
|
|
3814
3815
|
}
|
|
3815
3816
|
declare module "babylonjs-gui/3D/controls/abstractButton3D" {
|
|
3816
|
-
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3817
|
+
import { TransformNode } from "babylonjs/Meshes/transformNode.pure";
|
|
3817
3818
|
import { Scene } from "babylonjs/scene";
|
|
3818
3819
|
import { ContentDisplay3D } from "babylonjs-gui/3D/controls/contentDisplay3D";
|
|
3819
3820
|
/**
|
|
@@ -3836,14 +3837,14 @@ import { Mesh } from "babylonjs/Meshes/mesh";
|
|
|
3836
3837
|
import { Nullable } from "babylonjs/types";
|
|
3837
3838
|
import { Scene } from "babylonjs/scene";
|
|
3838
3839
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
3839
|
-
import { Color3, Color4 } from "babylonjs/Maths/math.color";
|
|
3840
|
+
import { Color3, Color4 } from "babylonjs/Maths/math.color.pure";
|
|
3840
3841
|
import { MRDLBackglowMaterial } from "babylonjs-gui/3D/materials/mrdl/mrdlBackglowMaterial.pure";
|
|
3841
3842
|
import { MRDLBackplateMaterial } from "babylonjs-gui/3D/materials/mrdl/mrdlBackplateMaterial.pure";
|
|
3842
3843
|
import { MRDLFrontplateMaterial } from "babylonjs-gui/3D/materials/mrdl/mrdlFrontplateMaterial.pure";
|
|
3843
3844
|
import { MRDLInnerquadMaterial } from "babylonjs-gui/3D/materials/mrdl/mrdlInnerquadMaterial.pure";
|
|
3844
|
-
import { StandardMaterial } from "babylonjs/Materials/standardMaterial";
|
|
3845
|
+
import { StandardMaterial } from "babylonjs/Materials/standardMaterial.pure";
|
|
3845
3846
|
import { TouchButton3D } from "babylonjs-gui/3D/controls/touchButton3D";
|
|
3846
|
-
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3847
|
+
import { TransformNode } from "babylonjs/Meshes/transformNode.pure";
|
|
3847
3848
|
/**
|
|
3848
3849
|
* Class used to create the mrtkv3 button
|
|
3849
3850
|
*/
|
|
@@ -4351,7 +4352,7 @@ export * from "babylonjs-gui/2D/FrameGraph/pure";
|
|
|
4351
4352
|
}
|
|
4352
4353
|
declare module "babylonjs-gui/2D/multiLinePoint" {
|
|
4353
4354
|
import { Nullable } from "babylonjs/types";
|
|
4354
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
4355
|
+
import { Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
4355
4356
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
4356
4357
|
import { MultiLine } from "babylonjs-gui/2D/controls/multiLine";
|
|
4357
4358
|
import { Control } from "babylonjs-gui/2D/controls/control";
|
|
@@ -4635,7 +4636,7 @@ export * from "babylonjs-gui/2D/xmlLoader";
|
|
|
4635
4636
|
declare module "babylonjs-gui/2D/advancedDynamicTexture" {
|
|
4636
4637
|
import { Nullable } from "babylonjs/types";
|
|
4637
4638
|
import { Observable } from "babylonjs/Misc/observable";
|
|
4638
|
-
import { Matrix, Vector2, Vector3 } from "babylonjs/Maths/math.vector";
|
|
4639
|
+
import { Matrix, Vector2, Vector3 } from "babylonjs/Maths/math.vector.pure";
|
|
4639
4640
|
import { PointerInfoPre } from "babylonjs/Events/pointerEvents";
|
|
4640
4641
|
import { ClipboardInfo } from "babylonjs/Events/clipboardEvents";
|
|
4641
4642
|
import { Camera } from "babylonjs/Cameras/camera";
|
|
@@ -11330,7 +11331,7 @@ declare namespace BABYLON.GUI {
|
|
|
11330
11331
|
* @since 5.0.0
|
|
11331
11332
|
*/
|
|
11332
11333
|
export class FluentButtonMaterial extends BABYLON.PushMaterial {
|
|
11333
|
-
private
|
|
11334
|
+
private static readonly _ShaderLoader;
|
|
11334
11335
|
/**
|
|
11335
11336
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
11336
11337
|
*/
|
|
@@ -11565,7 +11566,7 @@ declare namespace BABYLON.GUI {
|
|
|
11565
11566
|
* Class used to render square buttons with fluent design
|
|
11566
11567
|
*/
|
|
11567
11568
|
export class FluentBackplateMaterial extends BABYLON.PushMaterial {
|
|
11568
|
-
private
|
|
11569
|
+
private static readonly _ShaderLoader;
|
|
11569
11570
|
/**
|
|
11570
11571
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
11571
11572
|
*/
|
|
@@ -11773,7 +11774,7 @@ declare namespace BABYLON.GUI {
|
|
|
11773
11774
|
* Class used to render controls with fluent design
|
|
11774
11775
|
*/
|
|
11775
11776
|
export class FluentMaterial extends BABYLON.PushMaterial {
|
|
11776
|
-
private
|
|
11777
|
+
private static readonly _ShaderLoader;
|
|
11777
11778
|
/**
|
|
11778
11779
|
* Gets or sets inner glow intensity. A value of 0 means no glow (default is 0.5)
|
|
11779
11780
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.23.0",
|
|
4
4
|
"main": "babylon.gui.min.js",
|
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test:escheck": "es-check es6 ./babylon.gui.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"babylonjs": "9.
|
|
19
|
+
"babylonjs": "9.23.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|