@babylonjs/gui 5.21.0 → 5.22.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/adtInstrumentation.js +70 -90
- package/2D/adtInstrumentation.js.map +1 -1
- package/2D/advancedDynamicTexture.d.ts +6 -0
- package/2D/advancedDynamicTexture.js +554 -622
- package/2D/advancedDynamicTexture.js.map +1 -1
- package/2D/controls/button.js +76 -90
- package/2D/controls/button.js.map +1 -1
- package/2D/controls/checkbox.js +86 -106
- package/2D/controls/checkbox.js.map +1 -1
- package/2D/controls/colorpicker.js +395 -415
- package/2D/controls/colorpicker.js.map +1 -1
- package/2D/controls/container.js +187 -230
- package/2D/controls/container.js.map +1 -1
- package/2D/controls/control.js +1067 -1353
- package/2D/controls/control.js.map +1 -1
- package/2D/controls/displayGrid.js +152 -196
- package/2D/controls/displayGrid.js.map +1 -1
- package/2D/controls/ellipse.js +32 -40
- package/2D/controls/ellipse.js.map +1 -1
- package/2D/controls/focusableButton.js +30 -35
- package/2D/controls/focusableButton.js.map +1 -1
- package/2D/controls/grid.js +172 -212
- package/2D/controls/grid.js.map +1 -1
- package/2D/controls/image.js +489 -592
- package/2D/controls/image.js.map +1 -1
- package/2D/controls/inputPassword.js +9 -16
- package/2D/controls/inputPassword.js.map +1 -1
- package/2D/controls/inputText.js +380 -467
- package/2D/controls/inputText.js.map +1 -1
- package/2D/controls/inputTextArea.js +234 -273
- package/2D/controls/inputTextArea.js.map +1 -1
- package/2D/controls/line.js +147 -198
- package/2D/controls/line.js.map +1 -1
- package/2D/controls/multiLine.js +87 -113
- package/2D/controls/multiLine.js.map +1 -1
- package/2D/controls/radioButton.js +106 -127
- package/2D/controls/radioButton.js.map +1 -1
- package/2D/controls/rectangle.js +60 -72
- package/2D/controls/rectangle.js.map +1 -1
- package/2D/controls/scrollViewers/scrollViewer.js +439 -543
- package/2D/controls/scrollViewers/scrollViewer.js.map +1 -1
- package/2D/controls/scrollViewers/scrollViewerWindow.js +99 -118
- package/2D/controls/scrollViewers/scrollViewerWindow.js.map +1 -1
- package/2D/controls/selector.js +241 -329
- package/2D/controls/selector.js.map +1 -1
- package/2D/controls/sliders/baseSlider.js +182 -230
- package/2D/controls/sliders/baseSlider.js.map +1 -1
- package/2D/controls/sliders/imageBasedSlider.js +86 -109
- package/2D/controls/sliders/imageBasedSlider.js.map +1 -1
- package/2D/controls/sliders/imageScrollBar.js +148 -178
- package/2D/controls/sliders/imageScrollBar.js.map +1 -1
- package/2D/controls/sliders/scrollBar.js +64 -80
- package/2D/controls/sliders/scrollBar.js.map +1 -1
- package/2D/controls/sliders/slider.js +91 -115
- package/2D/controls/sliders/slider.js.map +1 -1
- package/2D/controls/stackPanel.js +114 -135
- package/2D/controls/stackPanel.js.map +1 -1
- package/2D/controls/statics.js +5 -5
- package/2D/controls/statics.js.map +1 -1
- package/2D/controls/textBlock.js +322 -384
- package/2D/controls/textBlock.js.map +1 -1
- package/2D/controls/textWrapper.js +27 -41
- package/2D/controls/textWrapper.js.map +1 -1
- package/2D/controls/toggleButton.js +105 -121
- package/2D/controls/toggleButton.js.map +1 -1
- package/2D/controls/virtualKeyboard.js +101 -123
- package/2D/controls/virtualKeyboard.js.map +1 -1
- package/2D/math2D.js +62 -70
- package/2D/math2D.js.map +1 -1
- package/2D/measure.js +30 -32
- package/2D/measure.js.map +1 -1
- package/2D/multiLinePoint.js +71 -89
- package/2D/multiLinePoint.js.map +1 -1
- package/2D/style.js +55 -73
- package/2D/style.js.map +1 -1
- package/2D/valueAndUnit.js +71 -104
- package/2D/valueAndUnit.js.map +1 -1
- package/2D/xmlLoader.js +70 -84
- package/2D/xmlLoader.js.map +1 -1
- package/3D/behaviors/defaultBehavior.js +40 -59
- package/3D/behaviors/defaultBehavior.js.map +1 -1
- package/3D/controls/abstractButton3D.js +8 -12
- package/3D/controls/abstractButton3D.js.map +1 -1
- package/3D/controls/button3D.js +30 -35
- package/3D/controls/button3D.js.map +1 -1
- package/3D/controls/container3D.js +57 -71
- package/3D/controls/container3D.js.map +1 -1
- package/3D/controls/contentDisplay3D.js +47 -60
- package/3D/controls/contentDisplay3D.js.map +1 -1
- package/3D/controls/control3D.js +123 -158
- package/3D/controls/control3D.js.map +1 -1
- package/3D/controls/cylinderPanel.js +28 -38
- package/3D/controls/cylinderPanel.js.map +1 -1
- package/3D/controls/handMenu.js +20 -29
- package/3D/controls/handMenu.js.map +1 -1
- package/3D/controls/holographicBackplate.js +52 -72
- package/3D/controls/holographicBackplate.js.map +1 -1
- package/3D/controls/holographicButton.js +160 -200
- package/3D/controls/holographicButton.js.map +1 -1
- package/3D/controls/holographicSlate.js +176 -206
- package/3D/controls/holographicSlate.js.map +1 -1
- package/3D/controls/meshButton3D.js +24 -30
- package/3D/controls/meshButton3D.js.map +1 -1
- package/3D/controls/nearMenu.js +57 -71
- package/3D/controls/nearMenu.js.map +1 -1
- package/3D/controls/planePanel.js +6 -13
- package/3D/controls/planePanel.js.map +1 -1
- package/3D/controls/scatterPanel.js +43 -54
- package/3D/controls/scatterPanel.js.map +1 -1
- package/3D/controls/slider3D.js +168 -222
- package/3D/controls/slider3D.js.map +1 -1
- package/3D/controls/spherePanel.js +29 -39
- package/3D/controls/spherePanel.js.map +1 -1
- package/3D/controls/stackPanel3D.js +36 -49
- package/3D/controls/stackPanel3D.js.map +1 -1
- package/3D/controls/touchButton3D.js +126 -154
- package/3D/controls/touchButton3D.js.map +1 -1
- package/3D/controls/touchHolographicButton.js +223 -272
- package/3D/controls/touchHolographicButton.js.map +1 -1
- package/3D/controls/touchHolographicMenu.js +55 -66
- package/3D/controls/touchHolographicMenu.js.map +1 -1
- package/3D/controls/touchMeshButton3D.js +24 -30
- package/3D/controls/touchMeshButton3D.js.map +1 -1
- package/3D/controls/volumeBasedPanel.js +85 -107
- package/3D/controls/volumeBasedPanel.js.map +1 -1
- package/3D/gizmos/gizmoHandle.js +68 -103
- package/3D/gizmos/gizmoHandle.js.map +1 -1
- package/3D/gizmos/slateGizmo.js +165 -182
- package/3D/gizmos/slateGizmo.js.map +1 -1
- package/3D/gui3DManager.js +76 -101
- package/3D/gui3DManager.js.map +1 -1
- package/3D/materials/fluent/fluentMaterial.js +110 -119
- package/3D/materials/fluent/fluentMaterial.js.map +1 -1
- package/3D/materials/fluent/shaders/fluent.fragment.js +20 -3
- package/3D/materials/fluent/shaders/fluent.fragment.js.map +1 -1
- package/3D/materials/fluent/shaders/fluent.vertex.js +11 -3
- package/3D/materials/fluent/shaders/fluent.vertex.js.map +1 -1
- package/3D/materials/fluentBackplate/fluentBackplateMaterial.js +168 -177
- package/3D/materials/fluentBackplate/fluentBackplateMaterial.js.map +1 -1
- package/3D/materials/fluentBackplate/shaders/fluentBackplate.fragment.js +9 -3
- package/3D/materials/fluentBackplate/shaders/fluentBackplate.fragment.js.map +1 -1
- package/3D/materials/fluentBackplate/shaders/fluentBackplate.vertex.js +15 -3
- package/3D/materials/fluentBackplate/shaders/fluentBackplate.vertex.js.map +1 -1
- package/3D/materials/fluentButton/fluentButtonMaterial.js +205 -213
- package/3D/materials/fluentButton/fluentButtonMaterial.js.map +1 -1
- package/3D/materials/fluentButton/shaders/fluentButton.fragment.js +6 -3
- package/3D/materials/fluentButton/shaders/fluentButton.fragment.js.map +1 -1
- package/3D/materials/fluentButton/shaders/fluentButton.vertex.js +6 -3
- package/3D/materials/fluentButton/shaders/fluentButton.vertex.js.map +1 -1
- package/3D/materials/handle/handleMaterial.js +56 -69
- package/3D/materials/handle/handleMaterial.js.map +1 -1
- package/3D/materials/handle/shaders/handle.fragment.js +3 -3
- package/3D/materials/handle/shaders/handle.fragment.js.map +1 -1
- package/3D/materials/handle/shaders/handle.vertex.js +3 -3
- package/3D/materials/handle/shaders/handle.vertex.js.map +1 -1
- package/3D/materials/mrdl/mrdlBackplateMaterial.js +158 -166
- package/3D/materials/mrdl/mrdlBackplateMaterial.js.map +1 -1
- package/3D/materials/mrdl/mrdlSliderBarMaterial.js +322 -330
- package/3D/materials/mrdl/mrdlSliderBarMaterial.js.map +1 -1
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.js +322 -330
- package/3D/materials/mrdl/mrdlSliderThumbMaterial.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlBackplate.fragment.js +9 -3
- package/3D/materials/mrdl/shaders/mrdlBackplate.fragment.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlBackplate.vertex.js +6 -3
- package/3D/materials/mrdl/shaders/mrdlBackplate.vertex.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlSliderBar.fragment.js +24 -3
- package/3D/materials/mrdl/shaders/mrdlSliderBar.fragment.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlSliderBar.vertex.js +12 -3
- package/3D/materials/mrdl/shaders/mrdlSliderBar.vertex.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlSliderThumb.fragment.js +24 -3
- package/3D/materials/mrdl/shaders/mrdlSliderThumb.fragment.js.map +1 -1
- package/3D/materials/mrdl/shaders/mrdlSliderThumb.vertex.js +12 -3
- package/3D/materials/mrdl/shaders/mrdlSliderThumb.vertex.js.map +1 -1
- package/3D/vector3WithInfo.js +6 -12
- package/3D/vector3WithInfo.js.map +1 -1
- package/legacy/legacy.js +1 -1
- package/legacy/legacy.js.map +1 -1
- package/package.json +2 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate
|
|
1
|
+
import { __decorate } from "@babylonjs/core/tslib.es6.js";
|
|
2
2
|
import { SerializationHelper, serialize } from "@babylonjs/core/Misc/decorators.js";
|
|
3
3
|
import { Vector2, Vector3, Vector4 } from "@babylonjs/core/Maths/math.vector.js";
|
|
4
4
|
import { Texture } from "@babylonjs/core/Materials/Textures/texture.js";
|
|
@@ -13,340 +13,335 @@ import { Constants } from "@babylonjs/core/Engines/constants.js";
|
|
|
13
13
|
import "./shaders/mrdlSliderThumb.fragment.js";
|
|
14
14
|
import "./shaders/mrdlSliderThumb.vertex.js";
|
|
15
15
|
/** @hidden */
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var _this = _super.call(this) || this;
|
|
16
|
+
class MRDLSliderThumbMaterialDefines extends MaterialDefines {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
20
19
|
/*
|
|
21
20
|
"SKY_ENABLED", "BLOB_ENABLE_2", "IRIDESCENCE_ENABLED"
|
|
22
21
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return _this;
|
|
22
|
+
this.SKY_ENABLED = true;
|
|
23
|
+
this.BLOB_ENABLE_2 = true;
|
|
24
|
+
this.IRIDESCENCE_ENABLED = true;
|
|
25
|
+
this._needNormals = true;
|
|
26
|
+
this._needUVs = true;
|
|
27
|
+
this.rebuild();
|
|
30
28
|
}
|
|
31
|
-
|
|
32
|
-
}(MaterialDefines));
|
|
29
|
+
}
|
|
33
30
|
/**
|
|
34
31
|
* Class used to render Slider Thumb material with MRDL
|
|
35
32
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var _this = _super.call(this, name, scene) || this;
|
|
33
|
+
export class MRDLSliderThumbMaterial extends PushMaterial {
|
|
34
|
+
constructor(name, scene) {
|
|
35
|
+
super(name, scene);
|
|
40
36
|
/**
|
|
41
37
|
* Gets or sets the corner Radius on the slider thumb.
|
|
42
38
|
*/
|
|
43
|
-
|
|
39
|
+
this.radius = 0.157;
|
|
44
40
|
/**
|
|
45
41
|
* Gets or sets the Bevel Front on the slider thumb.
|
|
46
42
|
*/
|
|
47
|
-
|
|
43
|
+
this.bevelFront = 0.065;
|
|
48
44
|
/**
|
|
49
45
|
* Gets or sets the Bevel Front Stretch on the slider thumb.
|
|
50
46
|
*/
|
|
51
|
-
|
|
47
|
+
this.bevelFrontStretch = 0.077;
|
|
52
48
|
/**
|
|
53
49
|
* Gets or sets the Bevel Back on the slider thumb.
|
|
54
50
|
*/
|
|
55
|
-
|
|
51
|
+
this.bevelBack = 0.031;
|
|
56
52
|
/**
|
|
57
53
|
* Gets or sets the Bevel Back Stretch on the slider thumb.
|
|
58
54
|
*/
|
|
59
|
-
|
|
55
|
+
this.bevelBackStretch = 0;
|
|
60
56
|
/**
|
|
61
57
|
* Gets or sets the top left Radii Multiplier.
|
|
62
58
|
*/
|
|
63
|
-
|
|
59
|
+
this.radiusTopLeft = 1.0;
|
|
64
60
|
/**
|
|
65
61
|
* Gets or sets the top left Radii Multiplier.
|
|
66
62
|
*/
|
|
67
|
-
|
|
63
|
+
this.radiusTopRight = 1.0;
|
|
68
64
|
/**
|
|
69
65
|
* Gets or sets the top left Radii Multiplier.
|
|
70
66
|
*/
|
|
71
|
-
|
|
67
|
+
this.radiusBottomLeft = 1.0;
|
|
72
68
|
/**
|
|
73
69
|
* Gets or sets the top left Radii Multiplier.
|
|
74
70
|
*/
|
|
75
|
-
|
|
71
|
+
this.radiusBottomRight = 1.0;
|
|
76
72
|
/**
|
|
77
73
|
* Gets or sets whether Bulge is enabled.
|
|
78
74
|
* Default is false.
|
|
79
75
|
*/
|
|
80
|
-
|
|
76
|
+
this.bulgeEnabled = false;
|
|
81
77
|
/**
|
|
82
78
|
* Gets or sets the Bulge Height.
|
|
83
79
|
*/
|
|
84
|
-
|
|
80
|
+
this.bulgeHeight = -0.323;
|
|
85
81
|
/**
|
|
86
82
|
* Gets or sets the Bulge Radius.
|
|
87
83
|
*/
|
|
88
|
-
|
|
84
|
+
this.bulgeRadius = 0.73;
|
|
89
85
|
/**
|
|
90
86
|
* Gets or sets the Sun Intensity.
|
|
91
87
|
*/
|
|
92
|
-
|
|
88
|
+
this.sunIntensity = 2;
|
|
93
89
|
/**
|
|
94
90
|
* Gets or sets the Sun Theta.
|
|
95
91
|
*/
|
|
96
|
-
|
|
92
|
+
this.sunTheta = 0.937;
|
|
97
93
|
/**
|
|
98
94
|
* Gets or sets the Sun Phi.
|
|
99
95
|
*/
|
|
100
|
-
|
|
96
|
+
this.sunPhi = 0.555;
|
|
101
97
|
/**
|
|
102
98
|
* Gets or sets the Indirect Diffuse.
|
|
103
99
|
*/
|
|
104
|
-
|
|
100
|
+
this.indirectDiffuse = 1;
|
|
105
101
|
/**
|
|
106
102
|
* Gets or sets the base albedo.
|
|
107
103
|
*/
|
|
108
|
-
|
|
104
|
+
this.albedo = new Color4(0.0117647, 0.505882, 0.996078, 1);
|
|
109
105
|
/**
|
|
110
106
|
* Gets or sets the Specular value.
|
|
111
107
|
*/
|
|
112
|
-
|
|
108
|
+
this.specular = 0;
|
|
113
109
|
/**
|
|
114
110
|
* Gets or sets the Shininess value.
|
|
115
111
|
*/
|
|
116
|
-
|
|
112
|
+
this.shininess = 10;
|
|
117
113
|
/**
|
|
118
114
|
* Gets or sets the Sharpness value.
|
|
119
115
|
*/
|
|
120
|
-
|
|
116
|
+
this.sharpness = 0;
|
|
121
117
|
/**
|
|
122
118
|
* Gets or sets the Subsurface value.
|
|
123
119
|
*/
|
|
124
|
-
|
|
120
|
+
this.subsurface = 0.31;
|
|
125
121
|
/**
|
|
126
122
|
* Gets or sets the left gradient color.
|
|
127
123
|
*/
|
|
128
|
-
|
|
124
|
+
this.leftGradientColor = new Color4(0.0117647, 0.505882, 0.996078, 1);
|
|
129
125
|
/**
|
|
130
126
|
* Gets or sets the right gradient color.
|
|
131
127
|
*/
|
|
132
|
-
|
|
128
|
+
this.rightGradientColor = new Color4(0.0117647, 0.505882, 0.996078, 1);
|
|
133
129
|
/**
|
|
134
130
|
* Gets or sets the reflection value.
|
|
135
131
|
*/
|
|
136
|
-
|
|
132
|
+
this.reflection = 0.749;
|
|
137
133
|
/**
|
|
138
134
|
* Gets or sets the front reflect value.
|
|
139
135
|
*/
|
|
140
|
-
|
|
136
|
+
this.frontReflect = 0;
|
|
141
137
|
/**
|
|
142
138
|
* Gets or sets the edge reflect value.
|
|
143
139
|
*/
|
|
144
|
-
|
|
140
|
+
this.edgeReflect = 0.09;
|
|
145
141
|
/**
|
|
146
142
|
* Gets or sets the power value.
|
|
147
143
|
*/
|
|
148
|
-
|
|
144
|
+
this.power = 8.1;
|
|
149
145
|
/**
|
|
150
146
|
* Gets or sets the sky color.
|
|
151
147
|
*/
|
|
152
|
-
|
|
148
|
+
this.skyColor = new Color4(0.0117647, 0.960784, 0.996078, 1);
|
|
153
149
|
/**
|
|
154
150
|
* Gets or sets the horizon color.
|
|
155
151
|
*/
|
|
156
|
-
|
|
152
|
+
this.horizonColor = new Color4(0.0117647, 0.333333, 0.996078, 1);
|
|
157
153
|
/**
|
|
158
154
|
* Gets or sets the ground color.
|
|
159
155
|
*/
|
|
160
|
-
|
|
156
|
+
this.groundColor = new Color4(0, 0.254902, 0.996078, 1);
|
|
161
157
|
/**
|
|
162
158
|
* Gets or sets the horizon power value.
|
|
163
159
|
*/
|
|
164
|
-
|
|
160
|
+
this.horizonPower = 1;
|
|
165
161
|
/**
|
|
166
162
|
* Gets or sets the finger occlusion width value.
|
|
167
163
|
*/
|
|
168
|
-
|
|
164
|
+
this.width = 0.02;
|
|
169
165
|
/**
|
|
170
166
|
* Gets or sets the finger occlusion fuzz value.
|
|
171
167
|
*/
|
|
172
|
-
|
|
168
|
+
this.fuzz = 0.5;
|
|
173
169
|
/**
|
|
174
170
|
* Gets or sets the minimum finger occlusion fuzz value.
|
|
175
171
|
*/
|
|
176
|
-
|
|
172
|
+
this.minFuzz = 0.001;
|
|
177
173
|
/**
|
|
178
174
|
* Gets or sets the finger occlusion clip fade value.
|
|
179
175
|
*/
|
|
180
|
-
|
|
176
|
+
this.clipFade = 0.01;
|
|
181
177
|
/**
|
|
182
178
|
* Gets or sets the hue shift value.
|
|
183
179
|
*/
|
|
184
|
-
|
|
180
|
+
this.hueShift = 0;
|
|
185
181
|
/**
|
|
186
182
|
* Gets or sets the saturation shift value.
|
|
187
183
|
*/
|
|
188
|
-
|
|
184
|
+
this.saturationShift = 0;
|
|
189
185
|
/**
|
|
190
186
|
* Gets or sets the value shift.
|
|
191
187
|
*/
|
|
192
|
-
|
|
188
|
+
this.valueShift = 0;
|
|
193
189
|
/**
|
|
194
190
|
* Gets or sets the position of the hover glow effect.
|
|
195
191
|
*/
|
|
196
|
-
|
|
192
|
+
this.blobPosition = new Vector3(0, 0, 0.1);
|
|
197
193
|
/**
|
|
198
194
|
* Gets or sets the intensity of the hover glow effect.
|
|
199
195
|
*/
|
|
200
|
-
|
|
196
|
+
this.blobIntensity = 0.5;
|
|
201
197
|
/**
|
|
202
198
|
* Gets or sets the near size of the hover glow effect.
|
|
203
199
|
*/
|
|
204
|
-
|
|
200
|
+
this.blobNearSize = 0.01;
|
|
205
201
|
/**
|
|
206
202
|
* Gets or sets the far size of the hover glow effect.
|
|
207
203
|
*/
|
|
208
|
-
|
|
204
|
+
this.blobFarSize = 0.03;
|
|
209
205
|
/**
|
|
210
206
|
* Gets or sets the distance considered "near" to the mesh, which controls the size of the hover glow effect (see blobNearSize).
|
|
211
207
|
*/
|
|
212
|
-
|
|
208
|
+
this.blobNearDistance = 0;
|
|
213
209
|
/**
|
|
214
210
|
* Gets or sets the distance considered "far" from the mesh, which controls the size of the hover glow effect (see blobFarSize).
|
|
215
211
|
*/
|
|
216
|
-
|
|
212
|
+
this.blobFarDistance = 0.08;
|
|
217
213
|
/**
|
|
218
214
|
* Gets or sets the length of the hover glow effect fade.
|
|
219
215
|
*/
|
|
220
|
-
|
|
216
|
+
this.blobFadeLength = 0.576;
|
|
221
217
|
/**
|
|
222
218
|
* Gets or sets the progress of the hover glow effect selection animation corresponding to the left pointer (0.0 - 1.0).
|
|
223
219
|
*/
|
|
224
|
-
|
|
220
|
+
this.blobPulse = 0;
|
|
225
221
|
/**
|
|
226
222
|
* Gets or sets the opacity of the hover glow effect corresponding to the left pointer (0.0 - 1.0). Default is 0.
|
|
227
223
|
*/
|
|
228
|
-
|
|
224
|
+
this.blobFade = 1;
|
|
229
225
|
/**
|
|
230
226
|
* Gets or sets the position of the hover glow effect.
|
|
231
227
|
*/
|
|
232
|
-
|
|
228
|
+
this.blobPosition2 = new Vector3(0.2, 0, 0.1);
|
|
233
229
|
/**
|
|
234
230
|
* Gets or sets the size of the hover glow effect when the right pointer is considered "near" to the mesh (see blobNearDistance).
|
|
235
231
|
*/
|
|
236
|
-
|
|
232
|
+
this.blobNearSize2 = 0.01;
|
|
237
233
|
/**
|
|
238
234
|
* Gets or sets the progress of the hover glow effect selection animation corresponding to the right pointer (0.0 - 1.0).
|
|
239
235
|
*/
|
|
240
|
-
|
|
236
|
+
this.blobPulse2 = 0;
|
|
241
237
|
/**
|
|
242
238
|
* Gets or sets the opacity of the hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 1.
|
|
243
239
|
*/
|
|
244
|
-
|
|
240
|
+
this.blobFade2 = 1;
|
|
245
241
|
/**
|
|
246
242
|
* Gets or sets the texture of the hover glow effect.
|
|
247
243
|
*/
|
|
248
|
-
|
|
244
|
+
this.blobTexture = new Texture("", this.getScene());
|
|
249
245
|
/**
|
|
250
246
|
* Gets or sets the finger position for left index.
|
|
251
247
|
*/
|
|
252
|
-
|
|
248
|
+
this.leftIndexPosition = new Vector3(0, 0, 1);
|
|
253
249
|
/**
|
|
254
250
|
* Gets or sets the finger position for right index.
|
|
255
251
|
*/
|
|
256
|
-
|
|
252
|
+
this.rightIndexPosition = new Vector3(-1, -1, -1);
|
|
257
253
|
/**
|
|
258
254
|
* Gets or sets the finger position for left index middle position.
|
|
259
255
|
*/
|
|
260
|
-
|
|
256
|
+
this.leftIndexMiddlePosition = new Vector3(0, 0, 0);
|
|
261
257
|
/**
|
|
262
258
|
* Gets or sets the finger position for right index middle position.
|
|
263
259
|
*/
|
|
264
|
-
|
|
260
|
+
this.rightIndexMiddlePosition = new Vector3(0, 0, 0);
|
|
265
261
|
/**
|
|
266
262
|
* Gets or sets the Decal Scale for XY.
|
|
267
263
|
*/
|
|
268
|
-
|
|
264
|
+
this.decalScaleXY = new Vector2(1.5, 1.5);
|
|
269
265
|
/**
|
|
270
266
|
* Gets or sets decalFrontOnly
|
|
271
267
|
* Default is true
|
|
272
268
|
*/
|
|
273
|
-
|
|
269
|
+
this.decalFrontOnly = true;
|
|
274
270
|
/**
|
|
275
271
|
* Gets or sets the Rim Light intensity.
|
|
276
272
|
*/
|
|
277
|
-
|
|
273
|
+
this.rimIntensity = 0.287;
|
|
278
274
|
/**
|
|
279
275
|
* Gets or sets the Rim Light hue shift value.
|
|
280
276
|
*/
|
|
281
|
-
|
|
277
|
+
this.rimHueShift = 0;
|
|
282
278
|
/**
|
|
283
279
|
* Gets or sets the Rim Light saturation shift value.
|
|
284
280
|
*/
|
|
285
|
-
|
|
281
|
+
this.rimSaturationShift = 0;
|
|
286
282
|
/**
|
|
287
283
|
* Gets or sets the Rim Light value shift.
|
|
288
284
|
*/
|
|
289
|
-
|
|
285
|
+
this.rimValueShift = -1;
|
|
290
286
|
/**
|
|
291
287
|
* Gets or sets the intensity of the iridescence effect.
|
|
292
288
|
*/
|
|
293
|
-
|
|
289
|
+
this.iridescenceIntensity = 0;
|
|
294
290
|
/**
|
|
295
291
|
* @hidden
|
|
296
292
|
*/
|
|
297
|
-
|
|
293
|
+
this.useGlobalLeftIndex = 1.0;
|
|
298
294
|
/**
|
|
299
295
|
* @hidden
|
|
300
296
|
*/
|
|
301
|
-
|
|
297
|
+
this.useGlobalRightIndex = 1.0;
|
|
302
298
|
/**
|
|
303
299
|
* @hidden
|
|
304
300
|
*/
|
|
305
|
-
|
|
301
|
+
this.globalLeftIndexTipProximity = 0.0;
|
|
306
302
|
/**
|
|
307
303
|
* @hidden
|
|
308
304
|
*/
|
|
309
|
-
|
|
305
|
+
this.globalRightIndexTipProximity = 0.0;
|
|
310
306
|
/**
|
|
311
307
|
* @hidden
|
|
312
308
|
*/
|
|
313
|
-
|
|
309
|
+
this.globalLeftIndexTipPosition = new Vector4(0.5, 0.0, -0.55, 1.0);
|
|
314
310
|
/**
|
|
315
311
|
* @hidden
|
|
316
312
|
*/
|
|
317
|
-
|
|
313
|
+
this.globaRightIndexTipPosition = new Vector4(0.0, 0.0, 0.0, 1.0);
|
|
318
314
|
/**
|
|
319
315
|
* @hidden
|
|
320
316
|
*/
|
|
321
|
-
|
|
317
|
+
this.globalLeftThumbTipPosition = new Vector4(0.5, 0.0, -0.55, 1.0);
|
|
322
318
|
/**
|
|
323
319
|
* @hidden
|
|
324
320
|
*/
|
|
325
|
-
|
|
321
|
+
this.globalRightThumbTipPosition = new Vector4(0.0, 0.0, 0.0, 1.0);
|
|
326
322
|
/**
|
|
327
323
|
* @hidden
|
|
328
324
|
*/
|
|
329
|
-
|
|
325
|
+
this.globalLeftIndexMiddlePosition = new Vector4(0.5, 0.0, -0.55, 1.0);
|
|
330
326
|
/**
|
|
331
327
|
* @hidden
|
|
332
328
|
*/
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
return _this;
|
|
329
|
+
this.globalRightIndexMiddlePosition = new Vector4(0.0, 0.0, 0.0, 1.0);
|
|
330
|
+
this.alphaMode = Constants.ALPHA_DISABLE;
|
|
331
|
+
this.backFaceCulling = false;
|
|
332
|
+
this._blueGradientTexture = new Texture(MRDLSliderThumbMaterial.BLUE_GRADIENT_TEXTURE_URL, scene, true, false, Texture.NEAREST_SAMPLINGMODE);
|
|
338
333
|
}
|
|
339
|
-
|
|
334
|
+
needAlphaBlending() {
|
|
340
335
|
return false;
|
|
341
|
-
}
|
|
342
|
-
|
|
336
|
+
}
|
|
337
|
+
needAlphaTesting() {
|
|
343
338
|
return false;
|
|
344
|
-
}
|
|
345
|
-
|
|
339
|
+
}
|
|
340
|
+
getAlphaTestTexture() {
|
|
346
341
|
return null;
|
|
347
|
-
}
|
|
342
|
+
}
|
|
348
343
|
// Methods
|
|
349
|
-
|
|
344
|
+
isReadyForSubMesh(mesh, subMesh) {
|
|
350
345
|
if (this.isFrozen) {
|
|
351
346
|
if (subMesh.effect && subMesh.effect._wasPreviouslyReady) {
|
|
352
347
|
return true;
|
|
@@ -355,12 +350,12 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
355
350
|
if (!subMesh.materialDefines) {
|
|
356
351
|
subMesh.materialDefines = new MRDLSliderThumbMaterialDefines();
|
|
357
352
|
}
|
|
358
|
-
|
|
359
|
-
|
|
353
|
+
const defines = subMesh.materialDefines;
|
|
354
|
+
const scene = this.getScene();
|
|
360
355
|
if (this._isReadyForSubMesh(subMesh)) {
|
|
361
356
|
return true;
|
|
362
357
|
}
|
|
363
|
-
|
|
358
|
+
const engine = scene.getEngine();
|
|
364
359
|
// Attribs
|
|
365
360
|
MaterialHelper.PrepareDefinesForAttributes(mesh, defines, false, false);
|
|
366
361
|
// Get correct effect
|
|
@@ -368,14 +363,14 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
368
363
|
defines.markAsProcessed();
|
|
369
364
|
scene.resetCachedMaterial();
|
|
370
365
|
// Fallbacks
|
|
371
|
-
|
|
366
|
+
const fallbacks = new EffectFallbacks();
|
|
372
367
|
if (defines.FOG) {
|
|
373
368
|
fallbacks.addFallback(1, "FOG");
|
|
374
369
|
}
|
|
375
370
|
MaterialHelper.HandleFallbacksForShadows(defines, fallbacks);
|
|
376
371
|
defines.IMAGEPROCESSINGPOSTPROCESS = scene.imageProcessingConfiguration.applyByPostProcess;
|
|
377
372
|
//Attributes
|
|
378
|
-
|
|
373
|
+
const attribs = [VertexBuffer.PositionKind];
|
|
379
374
|
if (defines.NORMAL) {
|
|
380
375
|
attribs.push(VertexBuffer.NormalKind);
|
|
381
376
|
}
|
|
@@ -393,9 +388,9 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
393
388
|
}
|
|
394
389
|
MaterialHelper.PrepareAttributesForInstances(attribs, defines);
|
|
395
390
|
// Legacy browser patch
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
391
|
+
const shaderName = "mrdlSliderThumb";
|
|
392
|
+
const join = defines.toString();
|
|
393
|
+
const uniforms = [
|
|
399
394
|
"world",
|
|
400
395
|
"viewProjection",
|
|
401
396
|
"cameraPosition",
|
|
@@ -478,8 +473,8 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
478
473
|
"Global_Left_Index_Tip_Proximity",
|
|
479
474
|
"Global_Right_Index_Tip_Proximity",
|
|
480
475
|
];
|
|
481
|
-
|
|
482
|
-
|
|
476
|
+
const samplers = ["_Rim_Texture_", "_Iridescence_Texture_"];
|
|
477
|
+
const uniformBuffers = new Array();
|
|
483
478
|
MaterialHelper.PrepareUniformsAndSamplersList({
|
|
484
479
|
uniformsNames: uniforms,
|
|
485
480
|
uniformBuffersNames: uniformBuffers,
|
|
@@ -505,13 +500,13 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
505
500
|
defines._renderId = scene.getRenderId();
|
|
506
501
|
subMesh.effect._wasPreviouslyReady = true;
|
|
507
502
|
return true;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
|
|
503
|
+
}
|
|
504
|
+
bindForSubMesh(world, mesh, subMesh) {
|
|
505
|
+
const defines = subMesh.materialDefines;
|
|
511
506
|
if (!defines) {
|
|
512
507
|
return;
|
|
513
508
|
}
|
|
514
|
-
|
|
509
|
+
const effect = subMesh.effect;
|
|
515
510
|
if (!effect) {
|
|
516
511
|
return;
|
|
517
512
|
}
|
|
@@ -625,228 +620,225 @@ var MRDLSliderThumbMaterial = /** @class */ (function (_super) {
|
|
|
625
620
|
this._activeEffect.setFloat("Global_Left_Index_Tip_Proximity", this.globalLeftIndexTipProximity);
|
|
626
621
|
this._activeEffect.setFloat("Global_Right_Index_Tip_Proximity", this.globalRightIndexTipProximity);
|
|
627
622
|
this._afterBind(mesh, this._activeEffect);
|
|
628
|
-
}
|
|
623
|
+
}
|
|
629
624
|
/**
|
|
630
625
|
* Get the list of animatables in the material.
|
|
631
626
|
* @returns the list of animatables object used in the material
|
|
632
627
|
*/
|
|
633
|
-
|
|
628
|
+
getAnimatables() {
|
|
634
629
|
return [];
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
var serializationObject = _super.prototype.serialize.call(this);
|
|
630
|
+
}
|
|
631
|
+
dispose(forceDisposeEffect) {
|
|
632
|
+
super.dispose(forceDisposeEffect);
|
|
633
|
+
}
|
|
634
|
+
clone(name) {
|
|
635
|
+
return SerializationHelper.Clone(() => new MRDLSliderThumbMaterial(name, this.getScene()), this);
|
|
636
|
+
}
|
|
637
|
+
serialize() {
|
|
638
|
+
const serializationObject = super.serialize();
|
|
645
639
|
serializationObject.customType = "BABYLON.MRDLSliderThumbMaterial";
|
|
646
640
|
return serializationObject;
|
|
647
|
-
}
|
|
648
|
-
|
|
641
|
+
}
|
|
642
|
+
getClassName() {
|
|
649
643
|
return "MRDLSliderThumbMaterial";
|
|
650
|
-
}
|
|
644
|
+
}
|
|
651
645
|
// Statics
|
|
652
|
-
|
|
653
|
-
return SerializationHelper.Parse(
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
}(PushMaterial));
|
|
850
|
-
export { MRDLSliderThumbMaterial };
|
|
646
|
+
static Parse(source, scene, rootUrl) {
|
|
647
|
+
return SerializationHelper.Parse(() => new MRDLSliderThumbMaterial(source.name, scene), source, scene, rootUrl);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* URL pointing to the texture used to define the coloring for the Iridescent Map effect.
|
|
652
|
+
*/
|
|
653
|
+
MRDLSliderThumbMaterial.BLUE_GRADIENT_TEXTURE_URL = "https://assets.babylonjs.com/meshes/MRTK/MRDL/mrtk-mrdl-blue-gradient.png";
|
|
654
|
+
__decorate([
|
|
655
|
+
serialize()
|
|
656
|
+
], MRDLSliderThumbMaterial.prototype, "radius", void 0);
|
|
657
|
+
__decorate([
|
|
658
|
+
serialize()
|
|
659
|
+
], MRDLSliderThumbMaterial.prototype, "bevelFront", void 0);
|
|
660
|
+
__decorate([
|
|
661
|
+
serialize()
|
|
662
|
+
], MRDLSliderThumbMaterial.prototype, "bevelFrontStretch", void 0);
|
|
663
|
+
__decorate([
|
|
664
|
+
serialize()
|
|
665
|
+
], MRDLSliderThumbMaterial.prototype, "bevelBack", void 0);
|
|
666
|
+
__decorate([
|
|
667
|
+
serialize()
|
|
668
|
+
], MRDLSliderThumbMaterial.prototype, "bevelBackStretch", void 0);
|
|
669
|
+
__decorate([
|
|
670
|
+
serialize()
|
|
671
|
+
], MRDLSliderThumbMaterial.prototype, "radiusTopLeft", void 0);
|
|
672
|
+
__decorate([
|
|
673
|
+
serialize()
|
|
674
|
+
], MRDLSliderThumbMaterial.prototype, "radiusTopRight", void 0);
|
|
675
|
+
__decorate([
|
|
676
|
+
serialize()
|
|
677
|
+
], MRDLSliderThumbMaterial.prototype, "radiusBottomLeft", void 0);
|
|
678
|
+
__decorate([
|
|
679
|
+
serialize()
|
|
680
|
+
], MRDLSliderThumbMaterial.prototype, "radiusBottomRight", void 0);
|
|
681
|
+
__decorate([
|
|
682
|
+
serialize()
|
|
683
|
+
], MRDLSliderThumbMaterial.prototype, "bulgeEnabled", void 0);
|
|
684
|
+
__decorate([
|
|
685
|
+
serialize()
|
|
686
|
+
], MRDLSliderThumbMaterial.prototype, "bulgeHeight", void 0);
|
|
687
|
+
__decorate([
|
|
688
|
+
serialize()
|
|
689
|
+
], MRDLSliderThumbMaterial.prototype, "bulgeRadius", void 0);
|
|
690
|
+
__decorate([
|
|
691
|
+
serialize()
|
|
692
|
+
], MRDLSliderThumbMaterial.prototype, "sunIntensity", void 0);
|
|
693
|
+
__decorate([
|
|
694
|
+
serialize()
|
|
695
|
+
], MRDLSliderThumbMaterial.prototype, "sunTheta", void 0);
|
|
696
|
+
__decorate([
|
|
697
|
+
serialize()
|
|
698
|
+
], MRDLSliderThumbMaterial.prototype, "sunPhi", void 0);
|
|
699
|
+
__decorate([
|
|
700
|
+
serialize()
|
|
701
|
+
], MRDLSliderThumbMaterial.prototype, "indirectDiffuse", void 0);
|
|
702
|
+
__decorate([
|
|
703
|
+
serialize()
|
|
704
|
+
], MRDLSliderThumbMaterial.prototype, "albedo", void 0);
|
|
705
|
+
__decorate([
|
|
706
|
+
serialize()
|
|
707
|
+
], MRDLSliderThumbMaterial.prototype, "specular", void 0);
|
|
708
|
+
__decorate([
|
|
709
|
+
serialize()
|
|
710
|
+
], MRDLSliderThumbMaterial.prototype, "shininess", void 0);
|
|
711
|
+
__decorate([
|
|
712
|
+
serialize()
|
|
713
|
+
], MRDLSliderThumbMaterial.prototype, "sharpness", void 0);
|
|
714
|
+
__decorate([
|
|
715
|
+
serialize()
|
|
716
|
+
], MRDLSliderThumbMaterial.prototype, "subsurface", void 0);
|
|
717
|
+
__decorate([
|
|
718
|
+
serialize()
|
|
719
|
+
], MRDLSliderThumbMaterial.prototype, "leftGradientColor", void 0);
|
|
720
|
+
__decorate([
|
|
721
|
+
serialize()
|
|
722
|
+
], MRDLSliderThumbMaterial.prototype, "rightGradientColor", void 0);
|
|
723
|
+
__decorate([
|
|
724
|
+
serialize()
|
|
725
|
+
], MRDLSliderThumbMaterial.prototype, "reflection", void 0);
|
|
726
|
+
__decorate([
|
|
727
|
+
serialize()
|
|
728
|
+
], MRDLSliderThumbMaterial.prototype, "frontReflect", void 0);
|
|
729
|
+
__decorate([
|
|
730
|
+
serialize()
|
|
731
|
+
], MRDLSliderThumbMaterial.prototype, "edgeReflect", void 0);
|
|
732
|
+
__decorate([
|
|
733
|
+
serialize()
|
|
734
|
+
], MRDLSliderThumbMaterial.prototype, "power", void 0);
|
|
735
|
+
__decorate([
|
|
736
|
+
serialize()
|
|
737
|
+
], MRDLSliderThumbMaterial.prototype, "skyColor", void 0);
|
|
738
|
+
__decorate([
|
|
739
|
+
serialize()
|
|
740
|
+
], MRDLSliderThumbMaterial.prototype, "horizonColor", void 0);
|
|
741
|
+
__decorate([
|
|
742
|
+
serialize()
|
|
743
|
+
], MRDLSliderThumbMaterial.prototype, "groundColor", void 0);
|
|
744
|
+
__decorate([
|
|
745
|
+
serialize()
|
|
746
|
+
], MRDLSliderThumbMaterial.prototype, "horizonPower", void 0);
|
|
747
|
+
__decorate([
|
|
748
|
+
serialize()
|
|
749
|
+
], MRDLSliderThumbMaterial.prototype, "width", void 0);
|
|
750
|
+
__decorate([
|
|
751
|
+
serialize()
|
|
752
|
+
], MRDLSliderThumbMaterial.prototype, "fuzz", void 0);
|
|
753
|
+
__decorate([
|
|
754
|
+
serialize()
|
|
755
|
+
], MRDLSliderThumbMaterial.prototype, "minFuzz", void 0);
|
|
756
|
+
__decorate([
|
|
757
|
+
serialize()
|
|
758
|
+
], MRDLSliderThumbMaterial.prototype, "clipFade", void 0);
|
|
759
|
+
__decorate([
|
|
760
|
+
serialize()
|
|
761
|
+
], MRDLSliderThumbMaterial.prototype, "hueShift", void 0);
|
|
762
|
+
__decorate([
|
|
763
|
+
serialize()
|
|
764
|
+
], MRDLSliderThumbMaterial.prototype, "saturationShift", void 0);
|
|
765
|
+
__decorate([
|
|
766
|
+
serialize()
|
|
767
|
+
], MRDLSliderThumbMaterial.prototype, "valueShift", void 0);
|
|
768
|
+
__decorate([
|
|
769
|
+
serialize()
|
|
770
|
+
], MRDLSliderThumbMaterial.prototype, "blobPosition", void 0);
|
|
771
|
+
__decorate([
|
|
772
|
+
serialize()
|
|
773
|
+
], MRDLSliderThumbMaterial.prototype, "blobIntensity", void 0);
|
|
774
|
+
__decorate([
|
|
775
|
+
serialize()
|
|
776
|
+
], MRDLSliderThumbMaterial.prototype, "blobNearSize", void 0);
|
|
777
|
+
__decorate([
|
|
778
|
+
serialize()
|
|
779
|
+
], MRDLSliderThumbMaterial.prototype, "blobFarSize", void 0);
|
|
780
|
+
__decorate([
|
|
781
|
+
serialize()
|
|
782
|
+
], MRDLSliderThumbMaterial.prototype, "blobNearDistance", void 0);
|
|
783
|
+
__decorate([
|
|
784
|
+
serialize()
|
|
785
|
+
], MRDLSliderThumbMaterial.prototype, "blobFarDistance", void 0);
|
|
786
|
+
__decorate([
|
|
787
|
+
serialize()
|
|
788
|
+
], MRDLSliderThumbMaterial.prototype, "blobFadeLength", void 0);
|
|
789
|
+
__decorate([
|
|
790
|
+
serialize()
|
|
791
|
+
], MRDLSliderThumbMaterial.prototype, "blobPulse", void 0);
|
|
792
|
+
__decorate([
|
|
793
|
+
serialize()
|
|
794
|
+
], MRDLSliderThumbMaterial.prototype, "blobFade", void 0);
|
|
795
|
+
__decorate([
|
|
796
|
+
serialize()
|
|
797
|
+
], MRDLSliderThumbMaterial.prototype, "blobPosition2", void 0);
|
|
798
|
+
__decorate([
|
|
799
|
+
serialize()
|
|
800
|
+
], MRDLSliderThumbMaterial.prototype, "blobNearSize2", void 0);
|
|
801
|
+
__decorate([
|
|
802
|
+
serialize()
|
|
803
|
+
], MRDLSliderThumbMaterial.prototype, "blobPulse2", void 0);
|
|
804
|
+
__decorate([
|
|
805
|
+
serialize()
|
|
806
|
+
], MRDLSliderThumbMaterial.prototype, "blobFade2", void 0);
|
|
807
|
+
__decorate([
|
|
808
|
+
serialize()
|
|
809
|
+
], MRDLSliderThumbMaterial.prototype, "blobTexture", void 0);
|
|
810
|
+
__decorate([
|
|
811
|
+
serialize()
|
|
812
|
+
], MRDLSliderThumbMaterial.prototype, "leftIndexPosition", void 0);
|
|
813
|
+
__decorate([
|
|
814
|
+
serialize()
|
|
815
|
+
], MRDLSliderThumbMaterial.prototype, "rightIndexPosition", void 0);
|
|
816
|
+
__decorate([
|
|
817
|
+
serialize()
|
|
818
|
+
], MRDLSliderThumbMaterial.prototype, "leftIndexMiddlePosition", void 0);
|
|
819
|
+
__decorate([
|
|
820
|
+
serialize()
|
|
821
|
+
], MRDLSliderThumbMaterial.prototype, "rightIndexMiddlePosition", void 0);
|
|
822
|
+
__decorate([
|
|
823
|
+
serialize()
|
|
824
|
+
], MRDLSliderThumbMaterial.prototype, "decalScaleXY", void 0);
|
|
825
|
+
__decorate([
|
|
826
|
+
serialize()
|
|
827
|
+
], MRDLSliderThumbMaterial.prototype, "decalFrontOnly", void 0);
|
|
828
|
+
__decorate([
|
|
829
|
+
serialize()
|
|
830
|
+
], MRDLSliderThumbMaterial.prototype, "rimIntensity", void 0);
|
|
831
|
+
__decorate([
|
|
832
|
+
serialize()
|
|
833
|
+
], MRDLSliderThumbMaterial.prototype, "rimHueShift", void 0);
|
|
834
|
+
__decorate([
|
|
835
|
+
serialize()
|
|
836
|
+
], MRDLSliderThumbMaterial.prototype, "rimSaturationShift", void 0);
|
|
837
|
+
__decorate([
|
|
838
|
+
serialize()
|
|
839
|
+
], MRDLSliderThumbMaterial.prototype, "rimValueShift", void 0);
|
|
840
|
+
__decorate([
|
|
841
|
+
serialize()
|
|
842
|
+
], MRDLSliderThumbMaterial.prototype, "iridescenceIntensity", void 0);
|
|
851
843
|
RegisterClass("BABYLON.GUI.MRDLSliderThumbMaterial", MRDLSliderThumbMaterial);
|
|
852
844
|
//# sourceMappingURL=mrdlSliderThumbMaterial.js.map
|