@babylonjs/gui 5.26.1 → 5.27.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/advancedDynamicTexture.js +5 -4
- package/2D/advancedDynamicTexture.js.map +1 -1
- package/2D/controls/container.js +5 -3
- package/2D/controls/container.js.map +1 -1
- package/2D/controls/control.js +8 -7
- package/2D/controls/control.js.map +1 -1
- package/2D/controls/grid.js +2 -2
- package/2D/controls/grid.js.map +1 -1
- package/2D/controls/image.js +8 -4
- package/2D/controls/image.js.map +1 -1
- package/2D/controls/inputText.d.ts +1 -1
- package/2D/controls/inputText.js +10 -29
- package/2D/controls/inputText.js.map +1 -1
- package/2D/controls/inputTextArea.js +9 -7
- package/2D/controls/inputTextArea.js.map +1 -1
- package/2D/controls/textBlock.js +2 -1
- package/2D/controls/textBlock.js.map +1 -1
- package/2D/controls/toggleButton.js +4 -3
- package/2D/controls/toggleButton.js.map +1 -1
- package/3D/controls/MRTK3/touchHolographicButton.d.ts +220 -0
- package/3D/controls/MRTK3/touchHolographicButton.js +866 -0
- package/3D/controls/MRTK3/touchHolographicButton.js.map +1 -0
- package/3D/controls/control3D.js +3 -2
- package/3D/controls/control3D.js.map +1 -1
- package/3D/controls/holographicBackplate.js +2 -1
- package/3D/controls/holographicBackplate.js.map +1 -1
- package/3D/controls/holographicSlate.js +2 -1
- package/3D/controls/holographicSlate.js.map +1 -1
- package/3D/controls/index.d.ts +3 -2
- package/3D/controls/index.js +4 -2
- package/3D/controls/index.js.map +1 -1
- package/3D/controls/slider3D.js +13 -10
- package/3D/controls/slider3D.js.map +1 -1
- package/3D/controls/touchButton3D.js +4 -2
- package/3D/controls/touchButton3D.js.map +1 -1
- package/3D/controls/touchHolographicButton.js +2 -1
- package/3D/controls/touchHolographicButton.js.map +1 -1
- package/3D/gui3DManager.js +5 -3
- package/3D/gui3DManager.js.map +1 -1
- package/3D/materials/fluentBackplate/fluentBackplateMaterial.js +2 -1
- package/3D/materials/fluentBackplate/fluentBackplateMaterial.js.map +1 -1
- package/3D/materials/mrdl/mrdlBackglowMaterial.d.ts +87 -0
- package/3D/materials/mrdl/mrdlBackglowMaterial.js +300 -0
- package/3D/materials/mrdl/mrdlBackglowMaterial.js.map +1 -0
- package/3D/materials/mrdl/mrdlFrontplateMaterial.d.ts +186 -0
- package/3D/materials/mrdl/mrdlFrontplateMaterial.js +530 -0
- package/3D/materials/mrdl/mrdlFrontplateMaterial.js.map +1 -0
- package/3D/materials/mrdl/mrdlInnerquadMaterial.d.ts +56 -0
- package/3D/materials/mrdl/mrdlInnerquadMaterial.js +228 -0
- package/3D/materials/mrdl/mrdlInnerquadMaterial.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.fragment.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.fragment.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.fragment.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.vertex.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.vertex.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlBackglow.vertex.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.fragment.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.fragment.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.fragment.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.vertex.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.vertex.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlFrontplate.vertex.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.fragment.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.fragment.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.fragment.js.map +1 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.vertex.d.ts +5 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.vertex.js +9 -0
- package/3D/materials/mrdl/shaders/mrdlInnerquad.vertex.js.map +1 -0
- package/package.json +2 -2
@@ -0,0 +1,186 @@
|
|
1
|
+
import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
2
|
+
import type { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture.js";
|
3
|
+
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
4
|
+
import type { Matrix } from "@babylonjs/core/Maths/math.vector.js";
|
5
|
+
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
6
|
+
import type { Nullable } from "@babylonjs/core/types.js";
|
7
|
+
import type { Scene } from "@babylonjs/core/scene.js";
|
8
|
+
import type { SubMesh } from "@babylonjs/core/Meshes/subMesh.js";
|
9
|
+
import { Color4 } from "@babylonjs/core/Maths/math.color.js";
|
10
|
+
import { PushMaterial } from "@babylonjs/core/Materials/pushMaterial.js";
|
11
|
+
import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
12
|
+
import "./shaders/mrdlFrontplate.fragment";
|
13
|
+
import "./shaders/mrdlFrontplate.vertex";
|
14
|
+
export declare class MRDLFrontplateMaterial extends PushMaterial {
|
15
|
+
/**
|
16
|
+
* Gets or sets the corner radius on the frontplate. If this value is changed, update the lineWidth to match.
|
17
|
+
*/
|
18
|
+
radius: number;
|
19
|
+
/**
|
20
|
+
* Gets or sets the line width of the frontplate.
|
21
|
+
*/
|
22
|
+
lineWidth: number;
|
23
|
+
/**
|
24
|
+
* Gets or sets whether the scale is relative to the frontplate height.
|
25
|
+
*/
|
26
|
+
relativeToHeight: boolean;
|
27
|
+
/** @hidden */
|
28
|
+
_filterWidth: number;
|
29
|
+
/**
|
30
|
+
* Gets or sets the edge color of the frontplate.
|
31
|
+
*/
|
32
|
+
edgeColor: Color4;
|
33
|
+
/**
|
34
|
+
* Gets or sets whether to enable blob effects on the frontplate.
|
35
|
+
*/
|
36
|
+
blobEnable: boolean;
|
37
|
+
/**
|
38
|
+
* Gets or sets the blob position on the frontplate.
|
39
|
+
*/
|
40
|
+
blobPosition: Vector3;
|
41
|
+
/**
|
42
|
+
* Gets or sets the blob intensity of the frontplate.
|
43
|
+
*/
|
44
|
+
blobIntensity: number;
|
45
|
+
/**
|
46
|
+
* Gets or sets the blob near size of the frontplate.
|
47
|
+
*/
|
48
|
+
blobNearSize: number;
|
49
|
+
/**
|
50
|
+
* Gets or sets the blob far size of the frontplate.
|
51
|
+
*/
|
52
|
+
blobFarSize: number;
|
53
|
+
/**
|
54
|
+
* Gets or sets the blob near distance of the frontplate.
|
55
|
+
*/
|
56
|
+
blobNearDistance: number;
|
57
|
+
/**
|
58
|
+
* Gets or sets the blob far distance of the frontplate.
|
59
|
+
*/
|
60
|
+
blobFarDistance: number;
|
61
|
+
/**
|
62
|
+
* Gets or sets the blob fade length of the frontplate.
|
63
|
+
*/
|
64
|
+
blobFadeLength: number;
|
65
|
+
/**
|
66
|
+
* Gets or sets the blob inner fade of the frontplate.
|
67
|
+
*/
|
68
|
+
blobInnerFade: number;
|
69
|
+
/**
|
70
|
+
* Gets or sets the blob pulse of the frontplate.
|
71
|
+
*/
|
72
|
+
blobPulse: number;
|
73
|
+
/**
|
74
|
+
* Gets or sets the blob fade effect on the frontplate.
|
75
|
+
*/
|
76
|
+
blobFade: number;
|
77
|
+
/**
|
78
|
+
* Gets or sets the maximum size of the blob pulse on the frontplate.
|
79
|
+
*/
|
80
|
+
blobPulseMaxSize: number;
|
81
|
+
/**
|
82
|
+
* Gets or sets whether to enable extra blob effects of the frontplate.
|
83
|
+
*/
|
84
|
+
blobEnable2: boolean;
|
85
|
+
/**
|
86
|
+
* Gets or sets blob2 position of the frontplate.
|
87
|
+
*/
|
88
|
+
blobPosition2: Vector3;
|
89
|
+
/**
|
90
|
+
* Gets or sets the blob2 near size of the frontplate.
|
91
|
+
*/
|
92
|
+
blobNearSize2: number;
|
93
|
+
/**
|
94
|
+
* Gets or sets the blob2 inner fade of the frontplate.
|
95
|
+
*/
|
96
|
+
blobInnerFade2: number;
|
97
|
+
/**
|
98
|
+
* Gets or sets the blob2 pulse of the frontplate.
|
99
|
+
*/
|
100
|
+
blobPulse2: number;
|
101
|
+
/**
|
102
|
+
* Gets or sets the blob2 fade effect on the frontplate.
|
103
|
+
*/
|
104
|
+
blobFade2: number;
|
105
|
+
/**
|
106
|
+
* Gets or sets the gaze intensity of the frontplate.
|
107
|
+
*/
|
108
|
+
gazeIntensity: number;
|
109
|
+
/**
|
110
|
+
* Gets or sets the gaze focus of the frontplate.
|
111
|
+
*/
|
112
|
+
gazeFocus: number;
|
113
|
+
/**
|
114
|
+
* Gets or sets the selection fuzz of the frontplate.
|
115
|
+
*/
|
116
|
+
selectionFuzz: number;
|
117
|
+
/**
|
118
|
+
* Gets or sets the fade intensity of the frontplate.
|
119
|
+
*/
|
120
|
+
selected: number;
|
121
|
+
/**
|
122
|
+
* Gets or sets the selection fade intensity of the frontplate.
|
123
|
+
*/
|
124
|
+
selectionFade: number;
|
125
|
+
/**
|
126
|
+
* Gets or sets the selection fade size of the frontplate.
|
127
|
+
*/
|
128
|
+
selectionFadeSize: number;
|
129
|
+
/**
|
130
|
+
* Gets or sets the selected distance of the frontplate.
|
131
|
+
*/
|
132
|
+
selectedDistance: number;
|
133
|
+
/**
|
134
|
+
* Gets or sets the selected fade length of the frontplate.
|
135
|
+
*/
|
136
|
+
selectedFadeLength: number;
|
137
|
+
/**
|
138
|
+
* Gets or sets the proximity maximum intensity of the frontplate.
|
139
|
+
*/
|
140
|
+
proximityMaxIntensity: number;
|
141
|
+
/**
|
142
|
+
* Gets or sets the proximity far distance of the frontplate.
|
143
|
+
*/
|
144
|
+
proximityFarDistance: number;
|
145
|
+
/**
|
146
|
+
* Gets or sets the proximity near radius of the frontplate.
|
147
|
+
*/
|
148
|
+
proximityNearRadius: number;
|
149
|
+
/**
|
150
|
+
* Gets or sets the proximity anisotropy of the frontplate.
|
151
|
+
*/
|
152
|
+
proximityAnisotropy: number;
|
153
|
+
/**
|
154
|
+
* Gets or sets whether to use global left index on the frontplate.
|
155
|
+
*/
|
156
|
+
useGlobalLeftIndex: boolean;
|
157
|
+
/**
|
158
|
+
* Gets or sets whether to use global right index of the frontplate.
|
159
|
+
*/
|
160
|
+
useGlobalRightIndex: boolean;
|
161
|
+
/**
|
162
|
+
* URL pointing to the texture used to define the coloring for the BLOB.
|
163
|
+
*/
|
164
|
+
static BLOB_TEXTURE_URL: string;
|
165
|
+
/**
|
166
|
+
* Gets or sets the opacity of the frontplate (0.0 - 1.0).
|
167
|
+
*/
|
168
|
+
fadeOut: number;
|
169
|
+
private _blobTexture;
|
170
|
+
constructor(name: string, scene: Scene);
|
171
|
+
needAlphaBlending(): boolean;
|
172
|
+
needAlphaTesting(): boolean;
|
173
|
+
getAlphaTestTexture(): Nullable<BaseTexture>;
|
174
|
+
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
175
|
+
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
176
|
+
/**
|
177
|
+
* Get the list of animatables in the material.
|
178
|
+
* @returns the list of animatables object used in the material
|
179
|
+
*/
|
180
|
+
getAnimatables(): IAnimatable[];
|
181
|
+
dispose(forceDisposeEffect?: boolean): void;
|
182
|
+
clone(name: string): MRDLFrontplateMaterial;
|
183
|
+
serialize(): unknown;
|
184
|
+
getClassName(): string;
|
185
|
+
static Parse(source: any, scene: Scene, rootUrl: string): MRDLFrontplateMaterial;
|
186
|
+
}
|