@babylonjs/gui 8.1.1 → 8.2.1
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/FrameGraph/guiTask.d.ts +1 -1
- package/2D/FrameGraph/renderGraphGUIBlock.d.ts +2 -2
- package/2D/adtInstrumentation.d.ts +1 -1
- package/2D/advancedDynamicTexture.d.ts +3 -3
- package/2D/controls/button.d.ts +5 -5
- package/2D/controls/checkbox.d.ts +2 -2
- package/2D/controls/colorpicker.d.ts +3 -3
- package/2D/controls/container.d.ts +4 -4
- package/2D/controls/control.d.ts +8 -8
- package/2D/controls/displayGrid.d.ts +1 -1
- package/2D/controls/ellipse.d.ts +2 -2
- package/2D/controls/focusableButton.d.ts +3 -3
- package/2D/controls/focusableControl.d.ts +1 -1
- package/2D/controls/gradient/LinearGradient.d.ts +1 -1
- package/2D/controls/gradient/RadialGradient.d.ts +1 -1
- package/2D/controls/grid.d.ts +5 -5
- package/2D/controls/image.d.ts +2 -2
- package/2D/controls/index.d.ts +34 -34
- package/2D/controls/inputPassword.d.ts +2 -2
- package/2D/controls/inputText.d.ts +4 -4
- package/2D/controls/inputTextArea.d.ts +4 -4
- package/2D/controls/line.d.ts +3 -3
- package/2D/controls/multiLine.d.ts +2 -2
- package/2D/controls/radioButton.d.ts +2 -2
- package/2D/controls/rectangle.d.ts +2 -2
- package/2D/controls/scrollViewers/scrollViewer.d.ts +8 -8
- package/2D/controls/scrollViewers/scrollViewerWindow.d.ts +2 -2
- package/2D/controls/selector.d.ts +2 -2
- package/2D/controls/sliders/baseSlider.d.ts +2 -2
- package/2D/controls/sliders/imageBasedSlider.d.ts +3 -3
- package/2D/controls/sliders/imageScrollBar.d.ts +3 -3
- package/2D/controls/sliders/scrollBar.d.ts +3 -3
- package/2D/controls/sliders/slider.d.ts +2 -2
- package/2D/controls/stackPanel.d.ts +3 -3
- package/2D/controls/textBlock.d.ts +2 -2
- package/2D/controls/toggleButton.d.ts +2 -2
- package/2D/controls/virtualKeyboard.d.ts +4 -4
- package/2D/index.d.ts +11 -11
- package/2D/measure.d.ts +1 -1
- package/2D/multiLinePoint.d.ts +2 -2
- package/2D/style.d.ts +2 -2
- package/2D/valueAndUnit.d.ts +1 -1
- package/3D/controls/MRTK3/touchHolographicButton.d.ts +6 -6
- package/3D/controls/abstractButton3D.d.ts +1 -1
- package/3D/controls/button3D.d.ts +2 -2
- package/3D/controls/container3D.d.ts +1 -1
- package/3D/controls/contentDisplay3D.d.ts +3 -3
- package/3D/controls/control3D.d.ts +3 -3
- package/3D/controls/cylinderPanel.d.ts +2 -2
- package/3D/controls/handMenu.d.ts +1 -1
- package/3D/controls/holographicBackplate.d.ts +2 -2
- package/3D/controls/holographicButton.d.ts +3 -3
- package/3D/controls/holographicSlate.d.ts +5 -5
- package/3D/controls/index.d.ts +22 -22
- package/3D/controls/meshButton3D.d.ts +1 -1
- package/3D/controls/nearMenu.d.ts +2 -2
- package/3D/controls/planePanel.d.ts +2 -2
- package/3D/controls/scatterPanel.d.ts +2 -2
- package/3D/controls/slider3D.d.ts +4 -4
- package/3D/controls/spherePanel.d.ts +2 -2
- package/3D/controls/stackPanel3D.d.ts +1 -1
- package/3D/controls/touchButton3D.d.ts +1 -1
- package/3D/controls/touchHolographicButton.d.ts +4 -4
- package/3D/controls/touchHolographicMenu.d.ts +4 -4
- package/3D/controls/touchMeshButton3D.d.ts +1 -1
- package/3D/controls/volumeBasedPanel.d.ts +2 -2
- package/3D/gizmos/gizmoHandle.d.ts +2 -2
- package/3D/gizmos/index.d.ts +2 -2
- package/3D/gizmos/slateGizmo.d.ts +1 -1
- package/3D/gui3DManager.d.ts +2 -2
- package/3D/index.d.ts +5 -5
- package/3D/materials/fluent/fluentMaterial.d.ts +2 -2
- package/3D/materials/fluent/index.d.ts +1 -1
- package/3D/materials/fluentBackplate/fluentBackplateMaterial.d.ts +2 -2
- package/3D/materials/fluentBackplate/index.d.ts +1 -1
- package/3D/materials/fluentButton/fluentButtonMaterial.d.ts +2 -2
- package/3D/materials/fluentButton/index.d.ts +1 -1
- package/3D/materials/fluentMaterial.d.ts +1 -1
- package/3D/materials/handle/handleMaterial.d.ts +2 -2
- package/3D/materials/handle/index.d.ts +1 -1
- package/3D/materials/index.d.ts +5 -5
- package/3D/materials/mrdl/index.d.ts +3 -3
- package/3D/materials/mrdl/mrdlBackglowMaterial.d.ts +2 -2
- package/3D/materials/mrdl/mrdlBackplateMaterial.d.ts +2 -2
- package/3D/materials/mrdl/mrdlFrontplateMaterial.d.ts +2 -2
- package/3D/materials/mrdl/mrdlInnerquadMaterial.d.ts +2 -2
- package/3D/materials/mrdl/mrdlSliderBarMaterial.d.ts +2 -2
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.d.ts +2 -2
- package/index.d.ts +2 -2
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { FrameGraphTextureHandle, FrameGraph } from "@babylonjs/core/index.js";
|
2
|
-
import { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
2
|
+
import { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
3
3
|
import { FrameGraphTask } from "@babylonjs/core/FrameGraph/frameGraphTask.js";
|
4
4
|
/**
|
5
5
|
* Task that renders a GUI texture.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { NodeRenderGraphBlock } from "@babylonjs/core/FrameGraph/Node/nodeRenderGraphBlock.js";
|
2
|
-
import { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
2
|
+
import { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
3
3
|
import type { Scene } from "@babylonjs/core/scene.js";
|
4
4
|
import type { NodeRenderGraphConnectionPoint } from "@babylonjs/core/FrameGraph/Node/nodeRenderGraphBlockConnectionPoint.js";
|
5
5
|
import type { NodeRenderGraphBuildState } from "@babylonjs/core/FrameGraph/Node/nodeRenderGraphBuildState.js";
|
6
|
-
import { FrameGraphGUITask } from "./guiTask";
|
6
|
+
import { FrameGraphGUITask } from "./guiTask.js";
|
7
7
|
import type { FrameGraph } from "@babylonjs/core/FrameGraph/frameGraph.js";
|
8
8
|
/**
|
9
9
|
* Block that implements a fullscreen GUI for render graph
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PerfCounter } from "@babylonjs/core/Misc/perfCounter.js";
|
2
2
|
import type { IDisposable } from "@babylonjs/core/scene.js";
|
3
|
-
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture";
|
3
|
+
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture.js";
|
4
4
|
/**
|
5
5
|
* This class can be used to get instrumentation data from a AdvancedDynamicTexture object
|
6
6
|
*/
|
@@ -10,9 +10,9 @@ import { DynamicTexture } from "@babylonjs/core/Materials/Textures/dynamicTextur
|
|
10
10
|
import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
11
11
|
import { Layer } from "@babylonjs/core/Layers/layer.js";
|
12
12
|
import type { Scene } from "@babylonjs/core/scene.js";
|
13
|
-
import { Container } from "./controls/container";
|
14
|
-
import { Control } from "./controls/control";
|
15
|
-
import { Style } from "./style";
|
13
|
+
import { Container } from "./controls/container.js";
|
14
|
+
import { Control } from "./controls/control.js";
|
15
|
+
import { Style } from "./style.js";
|
16
16
|
import { Viewport } from "@babylonjs/core/Maths/math.viewport.js";
|
17
17
|
/**
|
18
18
|
* Interface used to define options to create an AdvancedDynamicTexture
|
package/2D/controls/button.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Rectangle } from "./rectangle";
|
4
|
-
import { Control } from "./control";
|
5
|
-
import { TextBlock } from "./textBlock";
|
6
|
-
import { Image } from "./image";
|
3
|
+
import { Rectangle } from "./rectangle.js";
|
4
|
+
import { Control } from "./control.js";
|
5
|
+
import { TextBlock } from "./textBlock.js";
|
6
|
+
import { Image } from "./image.js";
|
7
7
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
8
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
8
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
9
9
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
10
10
|
/**
|
11
11
|
* Class used to create 2D buttons
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Control } from "./control";
|
4
|
-
import { StackPanel } from "./stackPanel";
|
3
|
+
import { Control } from "./control.js";
|
4
|
+
import { StackPanel } from "./stackPanel.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
7
|
/**
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Control } from "./control";
|
4
|
-
import type { Measure } from "../measure";
|
5
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
3
|
+
import { Control } from "./control.js";
|
4
|
+
import type { Measure } from "../measure.js";
|
5
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
6
6
|
import { Color3 } from "@babylonjs/core/Maths/math.color.js";
|
7
7
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
8
8
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import { Control } from "./control";
|
3
|
-
import { Measure } from "../measure";
|
4
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
2
|
+
import { Control } from "./control.js";
|
3
|
+
import { Measure } from "../measure.js";
|
4
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
7
|
import { DynamicTexture } from "@babylonjs/core/Materials/Textures/dynamicTexture.js";
|
8
8
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
9
|
-
import type { BaseGradient } from "./gradient/BaseGradient";
|
9
|
+
import type { BaseGradient } from "./gradient/BaseGradient.js";
|
10
10
|
/**
|
11
11
|
* Root class for 2D containers
|
12
12
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#containers
|
package/2D/controls/control.d.ts
CHANGED
@@ -4,20 +4,20 @@ import { Vector2, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
|
4
4
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
5
5
|
import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
|
6
6
|
import type { Scene } from "@babylonjs/core/scene.js";
|
7
|
-
import type { Container } from "./container";
|
8
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
9
|
-
import { ValueAndUnit } from "../valueAndUnit";
|
10
|
-
import { Measure } from "../measure";
|
11
|
-
import type { Style } from "../style";
|
12
|
-
import { Matrix2D, Vector2WithInfo } from "../math2D";
|
7
|
+
import type { Container } from "./container.js";
|
8
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
9
|
+
import { ValueAndUnit } from "../valueAndUnit.js";
|
10
|
+
import { Measure } from "../measure.js";
|
11
|
+
import type { Style } from "../style.js";
|
12
|
+
import { Matrix2D, Vector2WithInfo } from "../math2D.js";
|
13
13
|
import type { ICanvasGradient, ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
14
14
|
import type { IAccessibilityTag } from "@babylonjs/core/IAccessibilityTag.js";
|
15
15
|
import type { IKeyboardEvent } from "@babylonjs/core/Events/deviceInputEvents.js";
|
16
16
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
17
17
|
import type { Animation } from "@babylonjs/core/Animations/animation.js";
|
18
|
-
import type { BaseGradient } from "./gradient/BaseGradient";
|
18
|
+
import type { BaseGradient } from "./gradient/BaseGradient.js";
|
19
19
|
import type { AbstractEngine } from "@babylonjs/core/Engines/abstractEngine.js";
|
20
|
-
import type { IFocusableControl } from "./focusableControl";
|
20
|
+
import type { IFocusableControl } from "./focusableControl.js";
|
21
21
|
/**
|
22
22
|
* Root class used for all 2D controls
|
23
23
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/gui/gui#controls
|
package/2D/controls/ellipse.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Container } from "./container";
|
2
|
-
import type { Measure } from "../measure";
|
1
|
+
import { Container } from "./container.js";
|
2
|
+
import type { Measure } from "../measure.js";
|
3
3
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
4
4
|
/** Class used to create 2D ellipse containers */
|
5
5
|
export declare class Ellipse extends Container {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
2
|
-
import { Button } from "./button";
|
3
|
-
import type { Control } from "./control";
|
2
|
+
import { Button } from "./button.js";
|
3
|
+
import type { Control } from "./control.js";
|
4
4
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
5
|
-
import type { IFocusableControl } from "./focusableControl";
|
5
|
+
import type { IFocusableControl } from "./focusableControl.js";
|
6
6
|
/**
|
7
7
|
* Class used to create a focusable button that can easily handle keyboard events
|
8
8
|
* @since 5.0.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { IKeyboardEvent } from "@babylonjs/core/Events/deviceInputEvents.js";
|
2
2
|
import type { Nullable } from "@babylonjs/core/types.js";
|
3
|
-
import type { Control } from "./control";
|
3
|
+
import type { Control } from "./control.js";
|
4
4
|
/**
|
5
5
|
* Interface used to define a control that can receive focus
|
6
6
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ICanvasGradient, ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
2
|
-
import { BaseGradient } from "./BaseGradient";
|
2
|
+
import { BaseGradient } from "./BaseGradient.js";
|
3
3
|
/**
|
4
4
|
* Gradient along a line that connects two coordinates.
|
5
5
|
* These coordinates are relative to the canvas' space, not to any control's space.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ICanvasGradient, ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
2
|
-
import { BaseGradient } from "./BaseGradient";
|
2
|
+
import { BaseGradient } from "./BaseGradient.js";
|
3
3
|
/**
|
4
4
|
* Gradient formed from two circles with their own centers and radius.
|
5
5
|
* The coordinates of the circles centers are relative to the canvas' space, not to any control's space.
|
package/2D/controls/grid.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import { Container } from "./container";
|
3
|
-
import { ValueAndUnit } from "../valueAndUnit";
|
4
|
-
import { Control } from "./control";
|
5
|
-
import type { Measure } from "../measure";
|
2
|
+
import { Container } from "./container.js";
|
3
|
+
import { ValueAndUnit } from "../valueAndUnit.js";
|
4
|
+
import { Control } from "./control.js";
|
5
|
+
import type { Measure } from "../measure.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
7
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
8
8
|
/**
|
9
9
|
* Class used to create a 2D grid container
|
10
10
|
*/
|
package/2D/controls/image.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import { Control } from "./control";
|
4
|
-
import type { Measure } from "../measure";
|
3
|
+
import { Control } from "./control.js";
|
4
|
+
import type { Measure } from "../measure.js";
|
5
5
|
import type { ICanvasRenderingContext, IImage } from "@babylonjs/core/Engines/ICanvas.js";
|
6
6
|
/**
|
7
7
|
* Class used to create 2D images
|
package/2D/controls/index.d.ts
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
export * from "./button";
|
2
|
-
export * from "./checkbox";
|
3
|
-
export * from "./colorpicker";
|
4
|
-
export * from "./container";
|
5
|
-
export * from "./control";
|
6
|
-
export * from "./ellipse";
|
7
|
-
export * from "./focusableButton";
|
8
|
-
export * from "./focusableControl";
|
9
|
-
export * from "./grid";
|
10
|
-
export * from "./image";
|
11
|
-
export * from "./inputText";
|
12
|
-
export * from "./inputTextArea";
|
13
|
-
export * from "./inputPassword";
|
14
|
-
export * from "./line";
|
15
|
-
export * from "./multiLine";
|
16
|
-
export * from "./radioButton";
|
17
|
-
export * from "./stackPanel";
|
18
|
-
export * from "./selector";
|
19
|
-
export * from "./scrollViewers/scrollViewer";
|
20
|
-
export * from "./textBlock";
|
21
|
-
export * from "./textWrapper";
|
22
|
-
export * from "./toggleButton";
|
23
|
-
export * from "./virtualKeyboard";
|
24
|
-
export * from "./rectangle";
|
25
|
-
export * from "./displayGrid";
|
26
|
-
export * from "./sliders/baseSlider";
|
27
|
-
export * from "./sliders/slider";
|
28
|
-
export * from "./sliders/imageBasedSlider";
|
29
|
-
export * from "./sliders/scrollBar";
|
30
|
-
export * from "./sliders/imageScrollBar";
|
31
|
-
export * from "./statics";
|
32
|
-
export * from "./gradient/BaseGradient";
|
33
|
-
export * from "./gradient/LinearGradient";
|
34
|
-
export * from "./gradient/RadialGradient";
|
1
|
+
export * from "./button.js";
|
2
|
+
export * from "./checkbox.js";
|
3
|
+
export * from "./colorpicker.js";
|
4
|
+
export * from "./container.js";
|
5
|
+
export * from "./control.js";
|
6
|
+
export * from "./ellipse.js";
|
7
|
+
export * from "./focusableButton.js";
|
8
|
+
export * from "./focusableControl.js";
|
9
|
+
export * from "./grid.js";
|
10
|
+
export * from "./image.js";
|
11
|
+
export * from "./inputText.js";
|
12
|
+
export * from "./inputTextArea.js";
|
13
|
+
export * from "./inputPassword.js";
|
14
|
+
export * from "./line.js";
|
15
|
+
export * from "./multiLine.js";
|
16
|
+
export * from "./radioButton.js";
|
17
|
+
export * from "./stackPanel.js";
|
18
|
+
export * from "./selector.js";
|
19
|
+
export * from "./scrollViewers/scrollViewer.js";
|
20
|
+
export * from "./textBlock.js";
|
21
|
+
export * from "./textWrapper.js";
|
22
|
+
export * from "./toggleButton.js";
|
23
|
+
export * from "./virtualKeyboard.js";
|
24
|
+
export * from "./rectangle.js";
|
25
|
+
export * from "./displayGrid.js";
|
26
|
+
export * from "./sliders/baseSlider.js";
|
27
|
+
export * from "./sliders/slider.js";
|
28
|
+
export * from "./sliders/imageBasedSlider.js";
|
29
|
+
export * from "./sliders/scrollBar.js";
|
30
|
+
export * from "./sliders/imageScrollBar.js";
|
31
|
+
export * from "./statics.js";
|
32
|
+
export * from "./gradient/BaseGradient.js";
|
33
|
+
export * from "./gradient/LinearGradient.js";
|
34
|
+
export * from "./gradient/RadialGradient.js";
|
@@ -4,10 +4,10 @@ import { Observable } from "@babylonjs/core/Misc/observable.js";
|
|
4
4
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
5
5
|
import type { ClipboardInfo } from "@babylonjs/core/Events/clipboardEvents.js";
|
6
6
|
import type { PointerInfo, PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
7
|
-
import { Control } from "./control";
|
8
|
-
import { ValueAndUnit } from "../valueAndUnit";
|
9
|
-
import type { VirtualKeyboard } from "./virtualKeyboard";
|
10
|
-
import { TextWrapper } from "./textWrapper";
|
7
|
+
import { Control } from "./control.js";
|
8
|
+
import { ValueAndUnit } from "../valueAndUnit.js";
|
9
|
+
import type { VirtualKeyboard } from "./virtualKeyboard.js";
|
10
|
+
import { TextWrapper } from "./textWrapper.js";
|
11
11
|
import type { IKeyboardEvent } from "@babylonjs/core/Events/deviceInputEvents.js";
|
12
12
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
13
13
|
/**
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
4
|
-
import { Control } from "./control";
|
5
|
-
import type { VirtualKeyboard } from "./virtualKeyboard";
|
6
|
-
import type { Measure } from "../measure";
|
7
|
-
import { InputText } from "./inputText";
|
4
|
+
import { Control } from "./control.js";
|
5
|
+
import type { VirtualKeyboard } from "./virtualKeyboard.js";
|
6
|
+
import type { Measure } from "../measure.js";
|
7
|
+
import { InputText } from "./inputText.js";
|
8
8
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
9
9
|
import type { PointerInfo, PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
10
10
|
import type { IKeyboardEvent } from "@babylonjs/core/Events/deviceInputEvents.js";
|
package/2D/controls/line.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
2
2
|
import type { Scene } from "@babylonjs/core/scene.js";
|
3
|
-
import { Control } from "./control";
|
4
|
-
import { ValueAndUnit } from "../valueAndUnit";
|
5
|
-
import type { Measure } from "../measure";
|
3
|
+
import { Control } from "./control.js";
|
4
|
+
import { ValueAndUnit } from "../valueAndUnit.js";
|
5
|
+
import type { Measure } from "../measure.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
7
|
/** Class used to render 2D lines */
|
8
8
|
export declare class Line extends Control {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
2
|
-
import { Control } from "./control";
|
3
|
-
import { MultiLinePoint } from "../multiLinePoint";
|
2
|
+
import { Control } from "./control.js";
|
3
|
+
import { MultiLinePoint } from "../multiLinePoint.js";
|
4
4
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
5
5
|
/**
|
6
6
|
* Class used to create multi line control
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Control } from "./control";
|
4
|
-
import { StackPanel } from "./stackPanel";
|
3
|
+
import { Control } from "./control.js";
|
4
|
+
import { StackPanel } from "./stackPanel.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
7
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Container } from "./container";
|
2
|
-
import type { Measure } from "../measure";
|
1
|
+
import { Container } from "./container.js";
|
2
|
+
import type { Measure } from "../measure.js";
|
3
3
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
4
4
|
/** Class used to create rectangle container */
|
5
5
|
export declare class Rectangle extends Container {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import { Rectangle } from "../rectangle";
|
3
|
-
import type { Image } from "../image";
|
4
|
-
import { Control } from "../control";
|
5
|
-
import type { Container } from "../container";
|
6
|
-
import type { Measure } from "../../measure";
|
7
|
-
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture";
|
8
|
-
import { ScrollBar } from "../sliders/scrollBar";
|
9
|
-
import { ImageScrollBar } from "../sliders/imageScrollBar";
|
2
|
+
import { Rectangle } from "../rectangle.js";
|
3
|
+
import type { Image } from "../image.js";
|
4
|
+
import { Control } from "../control.js";
|
5
|
+
import type { Container } from "../container.js";
|
6
|
+
import type { Measure } from "../../measure.js";
|
7
|
+
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture.js";
|
8
|
+
import { ScrollBar } from "../sliders/scrollBar.js";
|
9
|
+
import { ImageScrollBar } from "../sliders/imageScrollBar.js";
|
10
10
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
11
11
|
/**
|
12
12
|
* Class used to hold a viewer window and sliders in a grid
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Measure } from "../../measure";
|
2
|
-
import { Container } from "../container";
|
1
|
+
import { Measure } from "../../measure.js";
|
2
|
+
import { Container } from "../container.js";
|
3
3
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
4
4
|
/**
|
5
5
|
* Class used to hold a the container for ScrollViewer
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Control } from "../control";
|
4
|
-
import { ValueAndUnit } from "../../valueAndUnit";
|
3
|
+
import { Control } from "../control.js";
|
4
|
+
import { ValueAndUnit } from "../../valueAndUnit.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
/**
|
7
7
|
* Class used to create slider controls
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { BaseSlider } from "./baseSlider";
|
2
|
-
import { Image } from "../image";
|
1
|
+
import { BaseSlider } from "./baseSlider.js";
|
2
|
+
import { Image } from "../image.js";
|
3
3
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
4
|
-
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture";
|
4
|
+
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture.js";
|
5
5
|
/**
|
6
6
|
* Class used to create slider controls based on images
|
7
7
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
2
|
-
import { BaseSlider } from "./baseSlider";
|
3
|
-
import type { Control } from "../control";
|
4
|
-
import type { Image } from "../image";
|
2
|
+
import { BaseSlider } from "./baseSlider.js";
|
3
|
+
import type { Control } from "../control.js";
|
4
|
+
import type { Image } from "../image.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
7
7
|
/**
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
2
|
-
import { BaseSlider } from "./baseSlider";
|
3
|
-
import type { Control } from "../control";
|
2
|
+
import { BaseSlider } from "./baseSlider.js";
|
3
|
+
import type { Control } from "../control.js";
|
4
4
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
5
5
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
6
6
|
import type { Nullable } from "@babylonjs/core/types.js";
|
7
|
-
import type { BaseGradient } from "../gradient/BaseGradient";
|
7
|
+
import type { BaseGradient } from "../gradient/BaseGradient.js";
|
8
8
|
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture.js";
|
9
9
|
/**
|
10
10
|
* Class used to create slider controls
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { BaseSlider } from "./baseSlider";
|
1
|
+
import { BaseSlider } from "./baseSlider.js";
|
2
2
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
|
-
import type { BaseGradient } from "../gradient/BaseGradient";
|
4
|
+
import type { BaseGradient } from "../gradient/BaseGradient.js";
|
5
5
|
import type { AdvancedDynamicTexture } from "../../advancedDynamicTexture.js";
|
6
6
|
/**
|
7
7
|
* Class used to create slider controls
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Container } from "./container";
|
2
|
-
import type { Measure } from "../measure";
|
3
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
1
|
+
import { Container } from "./container.js";
|
2
|
+
import type { Measure } from "../measure.js";
|
3
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
4
4
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
5
5
|
/**
|
6
6
|
* Class used to create a 2D stack panel container
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
|
-
import type { Measure } from "../measure";
|
3
|
-
import { Control } from "./control";
|
2
|
+
import type { Measure } from "../measure.js";
|
3
|
+
import { Control } from "./control.js";
|
4
4
|
import type { Nullable } from "@babylonjs/core/types.js";
|
5
5
|
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
|
6
6
|
/**
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import { Rectangle } from "./rectangle";
|
4
|
-
import type { Control } from "./control";
|
3
|
+
import { Rectangle } from "./rectangle.js";
|
4
|
+
import type { Control } from "./control.js";
|
5
5
|
import type { PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js";
|
6
6
|
/**
|
7
7
|
* Class used to create toggle buttons
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import { StackPanel } from "./stackPanel";
|
4
|
-
import type { InputText } from "./inputText";
|
5
|
-
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture";
|
6
|
-
import { InputTextArea } from "./inputTextArea";
|
3
|
+
import { StackPanel } from "./stackPanel.js";
|
4
|
+
import type { InputText } from "./inputText.js";
|
5
|
+
import type { AdvancedDynamicTexture } from "../advancedDynamicTexture.js";
|
6
|
+
import { InputTextArea } from "./inputTextArea.js";
|
7
7
|
/**
|
8
8
|
* Class used to store key control properties
|
9
9
|
*/
|
package/2D/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
export * from "./controls/index";
|
2
|
-
export * from "./advancedDynamicTexture";
|
3
|
-
export * from "./adtInstrumentation";
|
4
|
-
export * from "./math2D";
|
5
|
-
export * from "./measure";
|
6
|
-
export * from "./multiLinePoint";
|
7
|
-
export * from "./FrameGraph/guiTask";
|
8
|
-
export * from "./FrameGraph/renderGraphGUIBlock";
|
9
|
-
export * from "./style";
|
10
|
-
export * from "./valueAndUnit";
|
11
|
-
export * from "./xmlLoader";
|
1
|
+
export * from "./controls/index.js";
|
2
|
+
export * from "./advancedDynamicTexture.js";
|
3
|
+
export * from "./adtInstrumentation.js";
|
4
|
+
export * from "./math2D.js";
|
5
|
+
export * from "./measure.js";
|
6
|
+
export * from "./multiLinePoint.js";
|
7
|
+
export * from "./FrameGraph/guiTask.js";
|
8
|
+
export * from "./FrameGraph/renderGraphGUIBlock.js";
|
9
|
+
export * from "./style.js";
|
10
|
+
export * from "./valueAndUnit.js";
|
11
|
+
export * from "./xmlLoader.js";
|
package/2D/measure.d.ts
CHANGED
package/2D/multiLinePoint.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
3
3
|
import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
4
|
-
import type { MultiLine } from "./controls/multiLine";
|
5
|
-
import type { Control } from "./controls/control";
|
4
|
+
import type { MultiLine } from "./controls/multiLine.js";
|
5
|
+
import type { Control } from "./controls/control.js";
|
6
6
|
/**
|
7
7
|
* Class used to store a point for a MultiLine object.
|
8
8
|
* The point can be pure 2D coordinates, a mesh or a control
|
package/2D/style.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
2
|
import type { IDisposable } from "@babylonjs/core/scene.js";
|
3
|
-
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture";
|
4
|
-
import { ValueAndUnit } from "./valueAndUnit";
|
3
|
+
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture.js";
|
4
|
+
import { ValueAndUnit } from "./valueAndUnit.js";
|
5
5
|
/**
|
6
6
|
* Define a style used by control to automatically setup properties based on a template.
|
7
7
|
* Only support font related properties so far
|
package/2D/valueAndUnit.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
|
-
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture";
|
2
|
+
import type { AdvancedDynamicTexture } from "./advancedDynamicTexture.js";
|
3
3
|
/**
|
4
4
|
* Class used to specific a value and its associated unit
|
5
5
|
*/
|
@@ -2,14 +2,14 @@ import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
2
2
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
4
|
import type { Scene } from "@babylonjs/core/scene.js";
|
5
|
-
import { AdvancedDynamicTexture } from "../../../2D/advancedDynamicTexture";
|
5
|
+
import { AdvancedDynamicTexture } from "../../../2D/advancedDynamicTexture.js";
|
6
6
|
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
|
7
|
-
import { MRDLBackglowMaterial } from "../../materials/mrdl/mrdlBackglowMaterial";
|
8
|
-
import { MRDLBackplateMaterial } from "../../materials/mrdl/mrdlBackplateMaterial";
|
9
|
-
import { MRDLFrontplateMaterial } from "../../materials/mrdl/mrdlFrontplateMaterial";
|
10
|
-
import { MRDLInnerquadMaterial } from "../../materials/mrdl/mrdlInnerquadMaterial";
|
7
|
+
import { MRDLBackglowMaterial } from "../../materials/mrdl/mrdlBackglowMaterial.js";
|
8
|
+
import { MRDLBackplateMaterial } from "../../materials/mrdl/mrdlBackplateMaterial.js";
|
9
|
+
import { MRDLFrontplateMaterial } from "../../materials/mrdl/mrdlFrontplateMaterial.js";
|
10
|
+
import { MRDLInnerquadMaterial } from "../../materials/mrdl/mrdlInnerquadMaterial.js";
|
11
11
|
import { StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js";
|
12
|
-
import { TouchButton3D } from "../touchButton3D";
|
12
|
+
import { TouchButton3D } from "../touchButton3D.js";
|
13
13
|
import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
|
14
14
|
/**
|
15
15
|
* Class used to create the mrtkv3 button
|