@xeokit/xeokit-sdk 2.6.86 → 2.6.87-rc0-no-las
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/README.md +3 -3
- package/dist/xeokit-sdk.cjs.js +15512 -32635
- package/dist/xeokit-sdk.es.js +15513 -32634
- package/dist/xeokit-sdk.es5.js +31259 -29843
- package/dist/xeokit-sdk.es5.js.map +1 -0
- package/dist/xeokit-sdk.min.cjs.js +8 -8
- package/dist/xeokit-sdk.min.es.js +8 -8
- package/dist/xeokit-sdk.min.es5.js +34 -33
- package/dist/xeokit-sdk.min.es5.js.map +1 -0
- package/package.json +7 -3
- package/src/plugins/CxConverterIFCLoaderPlugin/CxConverterIFCLoaderPlugin.js +81 -81
- package/src/plugins/CxConverterIFCLoaderPlugin/index.js +1 -1
- package/src/plugins/LASLoaderPlugin/index.js +1 -1
- package/src/plugins/NavCubePlugin/NavCubePlugin.js +63 -22
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV1.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +9 -9
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV2.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV3.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV4.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV5.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +5 -5
- package/src/plugins/index.js +2 -2
- package/src/viewer/scene/CameraControl/lib/handlers/TouchPickHandler.js +7 -6
- package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +26 -108
- package/types/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.d.ts +3 -14
- package/types/plugins/DotBIMLoaderPlugin/DotBIMLoaderPlugin.d.ts +5 -23
- package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +5 -25
- package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +20 -100
- package/types/plugins/STLLoaderPlugin/STLLoaderPlugin.d.ts +3 -14
- package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +18 -83
- package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +21 -106
- package/types/viewer/Configs.d.ts +6 -24
- package/types/viewer/scene/CameraControl/CameraControl.d.ts +66 -445
- package/types/viewer/scene/Component.d.ts +1 -1
- package/types/viewer/scene/Entity.d.ts +40 -186
- package/types/viewer/scene/camera/Camera.d.ts +50 -170
- package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +8 -57
- package/types/viewer/scene/camera/CameraPath.d.ts +8 -13
- package/types/viewer/scene/camera/CameraPathAnimation.d.ts +4 -22
- package/types/viewer/scene/camera/CustomProjection.d.ts +6 -21
- package/types/viewer/scene/camera/Frustum.d.ts +18 -90
- package/types/viewer/scene/camera/Ortho.d.ts +14 -54
- package/types/viewer/scene/camera/Perspective.d.ts +16 -70
- package/types/viewer/scene/geometry/ReadableGeometry.d.ts +21 -25
- package/types/viewer/scene/geometry/VBOGeometry.d.ts +7 -7
- package/types/viewer/scene/lights/AmbientLight.d.ts +4 -26
- package/types/viewer/scene/lights/DirLight.d.ts +8 -52
- package/types/viewer/scene/lights/PointLight.d.ts +14 -93
- package/types/viewer/scene/materials/EdgeMaterial.d.ts +12 -37
- package/types/viewer/scene/materials/EmphasisMaterial.d.ts +22 -119
- package/types/viewer/scene/materials/Fresnel.d.ts +10 -50
- package/types/viewer/scene/materials/LambertMaterial.d.ts +16 -90
- package/types/viewer/scene/materials/LinesMaterial.d.ts +7 -25
- package/types/viewer/scene/materials/MetallicMaterial.d.ts +40 -127
- package/types/viewer/scene/materials/PhongMaterial.d.ts +52 -185
- package/types/viewer/scene/materials/PointsMaterial.d.ts +20 -101
- package/types/viewer/scene/materials/SpecularMaterial.d.ts +41 -117
- package/types/viewer/scene/materials/Texture.d.ts +22 -62
- package/types/viewer/scene/models/SceneModel.d.ts +76 -233
- package/types/viewer/scene/models/SceneModelEntity.d.ts +50 -211
- package/types/viewer/scene/models/SceneModelMesh.d.ts +4 -4
- package/types/viewer/scene/models/SceneModelTransform.d.ts +14 -59
- package/types/viewer/scene/paths/CubicBezierCurve.d.ts +12 -73
- package/types/viewer/scene/paths/Curve.d.ts +6 -19
- package/types/viewer/scene/paths/Path.d.ts +10 -57
- package/types/viewer/scene/paths/QuadraticBezierCurve.d.ts +10 -57
- package/types/viewer/scene/paths/SplineCurve.d.ts +6 -32
- package/types/viewer/scene/scene/Scene.d.ts +94 -196
- package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +12 -69
- package/types/viewer/scene/viewport/Viewport.d.ts +4 -14
- package/types/viewer/scene/webgl/PickResult.d.ts +13 -28
|
@@ -71,25 +71,16 @@ export declare class PhongMaterial extends Material {
|
|
|
71
71
|
constructor(owner: Component, cfg?: any);
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* PhongMaterial's ambient color.
|
|
75
75
|
*
|
|
76
76
|
* Default value is ````[0.3, 0.3, 0.3]````.
|
|
77
77
|
*
|
|
78
78
|
* @type {Number[]}
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
ambient: number[];
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* Default value is ````[0.3, 0.3, 0.3]````.
|
|
86
|
-
*
|
|
87
|
-
* @type {Number[]}
|
|
88
|
-
*/
|
|
89
|
-
get ambient(): number[];
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Sets the PhongMaterial's diffuse color.
|
|
83
|
+
* PhongMaterial's diffuse color.
|
|
93
84
|
*
|
|
94
85
|
* Multiplies by {@link PhongMaterial.diffuseMap}.
|
|
95
86
|
*
|
|
@@ -97,59 +88,29 @@ export declare class PhongMaterial extends Material {
|
|
|
97
88
|
*
|
|
98
89
|
* @type {Number[]}
|
|
99
90
|
*/
|
|
100
|
-
|
|
91
|
+
diffuse: number[];
|
|
101
92
|
|
|
102
93
|
/**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* Multiplies by {@link PhongMaterial.diffuseMap}.
|
|
106
|
-
*
|
|
107
|
-
* Default value is ````[1.0, 1.0, 1.0]````.
|
|
108
|
-
*
|
|
109
|
-
* @type {Number[]}
|
|
110
|
-
*/
|
|
111
|
-
get diffuse(): number[];
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Sets the PhongMaterial's specular color.
|
|
94
|
+
* PhongMaterial's specular color.
|
|
115
95
|
*
|
|
116
96
|
* Multiplies by {@link PhongMaterial.specularMap}.
|
|
117
97
|
* Default value is ````[1.0, 1.0, 1.0]````.
|
|
118
98
|
* @type {Number[]}
|
|
119
99
|
*/
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Gets the PhongMaterial's specular color.
|
|
124
|
-
*
|
|
125
|
-
* Multiplies by {@link PhongMaterial.specularMap}.
|
|
126
|
-
* Default value is ````[1.0, 1.0, 1.0]````.
|
|
127
|
-
* @type {Number[]}
|
|
128
|
-
*/
|
|
129
|
-
get specular(): number[];
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Sets the PhongMaterial's emissive color.
|
|
133
|
-
*
|
|
134
|
-
* Multiplies by {@link PhongMaterial.emissiveMap}.
|
|
135
|
-
*
|
|
136
|
-
* Default value is ````[0.0, 0.0, 0.0]````.
|
|
137
|
-
* @type {Number[]}
|
|
138
|
-
*/
|
|
139
|
-
set emissive(arg: number[]);
|
|
100
|
+
specular: number[];
|
|
140
101
|
|
|
141
102
|
/**
|
|
142
|
-
*
|
|
103
|
+
* PhongMaterial's emissive color.
|
|
143
104
|
*
|
|
144
105
|
* Multiplies by {@link PhongMaterial.emissiveMap}.
|
|
145
106
|
*
|
|
146
107
|
* Default value is ````[0.0, 0.0, 0.0]````.
|
|
147
108
|
* @type {Number[]}
|
|
148
109
|
*/
|
|
149
|
-
|
|
110
|
+
emissive: number[];
|
|
150
111
|
|
|
151
112
|
/**
|
|
152
|
-
*
|
|
113
|
+
* PhongMaterial alpha.
|
|
153
114
|
*
|
|
154
115
|
* This is a factor in the range [0..1] indicating how transparent the PhongMaterial is.
|
|
155
116
|
*
|
|
@@ -161,25 +122,10 @@ export declare class PhongMaterial extends Material {
|
|
|
161
122
|
*
|
|
162
123
|
* @type {Number}
|
|
163
124
|
*/
|
|
164
|
-
|
|
125
|
+
alpha: number;
|
|
165
126
|
|
|
166
127
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* This is a factor in the range [0..1] indicating how transparent the PhongMaterial is.
|
|
170
|
-
*
|
|
171
|
-
* A value of 0.0 indicates fully transparent, 1.0 is fully opaque.
|
|
172
|
-
*
|
|
173
|
-
* Multiplies by {@link PhongMaterial.alphaMap}.
|
|
174
|
-
*
|
|
175
|
-
* Default value is ````1.0````.
|
|
176
|
-
*
|
|
177
|
-
* @type {Number}
|
|
178
|
-
*/
|
|
179
|
-
get alpha(): number;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Sets the PhongMaterial shininess.
|
|
128
|
+
* PhongMaterial shininess.
|
|
183
129
|
*
|
|
184
130
|
* This is a factor in range [0..128] that determines the size and sharpness of the specular highlights create by this PhongMaterial.
|
|
185
131
|
*
|
|
@@ -191,38 +137,10 @@ export declare class PhongMaterial extends Material {
|
|
|
191
137
|
*
|
|
192
138
|
* @type {Number}
|
|
193
139
|
*/
|
|
194
|
-
|
|
140
|
+
shininess: number;
|
|
195
141
|
|
|
196
142
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* This is a factor in range [0..128] that determines the size and sharpness of the specular highlights create by this PhongMaterial.
|
|
200
|
-
*
|
|
201
|
-
* Larger values produce smaller, sharper highlights. A value of 0.0 gives very large highlights that are almost never
|
|
202
|
-
* desirable. Try values close to 10 for a larger, fuzzier highlight and values of 100 or more for a small, sharp
|
|
203
|
-
* highlight.
|
|
204
|
-
*
|
|
205
|
-
* Default value is ```` 80.0````.
|
|
206
|
-
*
|
|
207
|
-
* @type {Number}
|
|
208
|
-
*/
|
|
209
|
-
get shininess(): number;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Sets how much {@link ReflectionMap} is reflected by this PhongMaterial.
|
|
213
|
-
*
|
|
214
|
-
* This is a scalar in range ````[0-1]````. Default value is ````1.0````.
|
|
215
|
-
*
|
|
216
|
-
* The surface will be non-reflective when this is ````0````, and completely mirror-like when it is ````1.0````.
|
|
217
|
-
*
|
|
218
|
-
* Multiplies by {@link PhongMaterial.reflectivityMap}.
|
|
219
|
-
*
|
|
220
|
-
* @type {Number}
|
|
221
|
-
*/
|
|
222
|
-
set reflectivity(arg: number);
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Gets how much {@link ReflectionMap} is reflected by this PhongMaterial.
|
|
143
|
+
* How much {@link ReflectionMap} is reflected by this PhongMaterial.
|
|
226
144
|
*
|
|
227
145
|
* This is a scalar in range ````[0-1]````. Default value is ````1.0````.
|
|
228
146
|
*
|
|
@@ -232,10 +150,10 @@ export declare class PhongMaterial extends Material {
|
|
|
232
150
|
*
|
|
233
151
|
* @type {Number}
|
|
234
152
|
*/
|
|
235
|
-
|
|
153
|
+
reflectivity: number;
|
|
236
154
|
|
|
237
155
|
/**
|
|
238
|
-
*
|
|
156
|
+
* PhongMaterial's line width.
|
|
239
157
|
*
|
|
240
158
|
* This is not supported by WebGL implementations based on DirectX [2019].
|
|
241
159
|
*
|
|
@@ -243,39 +161,19 @@ export declare class PhongMaterial extends Material {
|
|
|
243
161
|
*
|
|
244
162
|
* @type {Number}
|
|
245
163
|
*/
|
|
246
|
-
|
|
164
|
+
lineWidth: number;
|
|
247
165
|
|
|
248
166
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* This is not supported by WebGL implementations based on DirectX [2019].
|
|
252
|
-
*
|
|
253
|
-
* Default value is ````1.0````.
|
|
254
|
-
*
|
|
255
|
-
* @type {Number}
|
|
256
|
-
*/
|
|
257
|
-
get lineWidth(): number;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Sets the PhongMaterial's point size.
|
|
167
|
+
* PhongMaterial's point size.
|
|
261
168
|
*
|
|
262
169
|
* Default value is 1.0.
|
|
263
170
|
*
|
|
264
171
|
* @type {Number}
|
|
265
172
|
*/
|
|
266
|
-
|
|
173
|
+
pointSize: number;
|
|
267
174
|
|
|
268
175
|
/**
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* Default value is 1.0.
|
|
272
|
-
*
|
|
273
|
-
* @type {Number}
|
|
274
|
-
*/
|
|
275
|
-
get pointSize(): number;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Sets the PhongMaterial's alpha rendering mode.
|
|
176
|
+
* PhongMaterial's alpha rendering mode.
|
|
279
177
|
*
|
|
280
178
|
* This governs how alpha is treated. Alpha is the combined result of {@link PhongMaterial.alpha} and {@link PhongMaterial.alphaMap}.
|
|
281
179
|
*
|
|
@@ -287,17 +185,10 @@ export declare class PhongMaterial extends Material {
|
|
|
287
185
|
*
|
|
288
186
|
*@type {String}
|
|
289
187
|
*/
|
|
290
|
-
|
|
188
|
+
alphaMode: "opaque"| "blend" | "mask";
|
|
291
189
|
|
|
292
190
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*@type {String}
|
|
296
|
-
*/
|
|
297
|
-
get alphaMode(): "opaque"| "blend" | "mask";
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Sets the PhongMaterial's alpha cutoff value.
|
|
191
|
+
* PhongMaterial's alpha cutoff value.
|
|
301
192
|
*
|
|
302
193
|
* This specifies the cutoff threshold when {@link PhongMaterial.alphaMode} equals "mask". If the alpha is greater than or equal to this value then it is rendered as fully
|
|
303
194
|
* opaque, otherwise, it is rendered as fully transparent. A value greater than 1.0 will render the entire material as fully transparent. This value is ignored for other modes.
|
|
@@ -308,17 +199,10 @@ export declare class PhongMaterial extends Material {
|
|
|
308
199
|
*
|
|
309
200
|
* @type {Number}
|
|
310
201
|
*/
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Gets the PhongMaterial's alpha cutoff value.
|
|
315
|
-
*
|
|
316
|
-
* @type {Number}
|
|
317
|
-
*/
|
|
318
|
-
get alphaCutoff(): number;
|
|
202
|
+
alphaCutoff: number;
|
|
319
203
|
|
|
320
204
|
/**
|
|
321
|
-
*
|
|
205
|
+
* Whether backfaces are visible on attached {@link Mesh}es.
|
|
322
206
|
*
|
|
323
207
|
* The backfaces will belong to {@link Geometry} compoents that are also attached to the {@link Mesh}es.
|
|
324
208
|
*
|
|
@@ -326,145 +210,128 @@ export declare class PhongMaterial extends Material {
|
|
|
326
210
|
*
|
|
327
211
|
* @type {Boolean}
|
|
328
212
|
*/
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Gets whether backfaces are visible on attached {@link Mesh}es.
|
|
333
|
-
*
|
|
334
|
-
* Default is ````false````.
|
|
335
|
-
*
|
|
336
|
-
* @type {Boolean}
|
|
337
|
-
*/
|
|
338
|
-
get backfaces(): boolean;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Sets the winding direction of geometry front faces.
|
|
342
|
-
*
|
|
343
|
-
* Default is ````"ccw"````.
|
|
344
|
-
* @type {String}
|
|
345
|
-
*/
|
|
346
|
-
set frontface(arg: "cw" | "ccw");
|
|
213
|
+
backfaces: boolean;
|
|
347
214
|
|
|
348
215
|
/**
|
|
349
|
-
*
|
|
216
|
+
* Winding direction of geometry front faces.
|
|
350
217
|
*
|
|
351
218
|
* Default is ````"ccw"````.
|
|
352
219
|
* @type {String}
|
|
353
220
|
*/
|
|
354
|
-
|
|
221
|
+
frontface: "cw" | "ccw";
|
|
355
222
|
|
|
356
223
|
/**
|
|
357
|
-
*
|
|
224
|
+
* PhongMaterials's normal map {@link Texture}.
|
|
358
225
|
*
|
|
359
226
|
* @type {Texture}
|
|
360
227
|
*/
|
|
361
|
-
|
|
228
|
+
readonly normalMap: Texture;
|
|
362
229
|
|
|
363
230
|
/**
|
|
364
|
-
*
|
|
231
|
+
* PhongMaterials's ambient {@link Texture}.
|
|
365
232
|
*
|
|
366
233
|
* Multiplies by {@link PhongMaterial.ambient}.
|
|
367
234
|
*
|
|
368
235
|
* @type {Texture}
|
|
369
236
|
*/
|
|
370
|
-
|
|
237
|
+
readonly ambientMap: Texture;
|
|
371
238
|
|
|
372
239
|
/**
|
|
373
|
-
*
|
|
240
|
+
* PhongMaterials's diffuse {@link Texture}.
|
|
374
241
|
*
|
|
375
242
|
* Multiplies by {@link PhongMaterial.diffuse}.
|
|
376
243
|
*
|
|
377
244
|
* @type {Texture}
|
|
378
245
|
*/
|
|
379
|
-
|
|
246
|
+
readonly diffuseMap: Texture;
|
|
380
247
|
|
|
381
248
|
/**
|
|
382
|
-
*
|
|
249
|
+
* PhongMaterials's specular {@link Texture}.
|
|
383
250
|
*
|
|
384
251
|
* Multiplies by {@link PhongMaterial.specular}.
|
|
385
252
|
*
|
|
386
253
|
* @type {Texture}
|
|
387
254
|
*/
|
|
388
|
-
|
|
255
|
+
readonly specularMap: Texture;
|
|
389
256
|
|
|
390
257
|
/**
|
|
391
|
-
*
|
|
258
|
+
* PhongMaterials's emissive {@link Texture}.
|
|
392
259
|
*
|
|
393
260
|
* Multiplies by {@link PhongMaterial.emissive}.
|
|
394
261
|
*
|
|
395
262
|
* @type {Texture}
|
|
396
263
|
*/
|
|
397
|
-
|
|
264
|
+
readonly emissiveMap: Texture;
|
|
398
265
|
|
|
399
266
|
/**
|
|
400
|
-
*
|
|
267
|
+
* PhongMaterials's alpha {@link Texture}.
|
|
401
268
|
*
|
|
402
269
|
* Multiplies by {@link PhongMaterial.alpha}.
|
|
403
270
|
*
|
|
404
271
|
* @type {Texture}
|
|
405
272
|
*/
|
|
406
|
-
|
|
273
|
+
readonly alphaMap: Texture;
|
|
407
274
|
|
|
408
275
|
/**
|
|
409
|
-
*
|
|
276
|
+
* PhongMaterials's reflectivity {@link Texture}.
|
|
410
277
|
*
|
|
411
278
|
* Multiplies by {@link PhongMaterial.reflectivity}.
|
|
412
279
|
*
|
|
413
280
|
* @type {Texture}
|
|
414
281
|
*/
|
|
415
|
-
|
|
282
|
+
readonly reflectivityMap: Texture;
|
|
416
283
|
|
|
417
284
|
/**
|
|
418
|
-
*
|
|
285
|
+
* PhongMaterials's ambient occlusion {@link Texture}.
|
|
419
286
|
*
|
|
420
287
|
* @type {Texture}
|
|
421
288
|
*/
|
|
422
|
-
|
|
289
|
+
readonly occlusionMap: Texture;
|
|
423
290
|
|
|
424
291
|
/**
|
|
425
|
-
*
|
|
292
|
+
* PhongMaterials's diffuse {@link Fresnel}.
|
|
426
293
|
*
|
|
427
294
|
* Applies to {@link PhongMaterial.diffuse}.
|
|
428
295
|
*
|
|
429
296
|
* @type {Fresnel}
|
|
430
297
|
*/
|
|
431
|
-
|
|
298
|
+
readonly diffuseFresnel: Fresnel;
|
|
432
299
|
|
|
433
300
|
/**
|
|
434
|
-
*
|
|
301
|
+
* PhongMaterials's specular {@link Fresnel}.
|
|
435
302
|
*
|
|
436
303
|
* Applies to {@link PhongMaterial.specular}.
|
|
437
304
|
*
|
|
438
305
|
* @type {Fresnel}
|
|
439
306
|
*/
|
|
440
|
-
|
|
307
|
+
readonly specularFresnel: Fresnel;
|
|
441
308
|
|
|
442
309
|
/**
|
|
443
|
-
*
|
|
310
|
+
* PhongMaterials's emissive {@link Fresnel}.
|
|
444
311
|
*
|
|
445
312
|
* Applies to {@link PhongMaterial.emissive}.
|
|
446
313
|
*
|
|
447
314
|
* @type {Fresnel}
|
|
448
315
|
*/
|
|
449
|
-
|
|
316
|
+
readonly emissiveFresnel: Fresnel;
|
|
450
317
|
|
|
451
318
|
/**
|
|
452
|
-
*
|
|
319
|
+
* PhongMaterials's alpha {@link Fresnel}.
|
|
453
320
|
*
|
|
454
321
|
* Applies to {@link PhongMaterial.alpha}.
|
|
455
322
|
*
|
|
456
323
|
* @type {Fresnel}
|
|
457
324
|
*/
|
|
458
|
-
|
|
325
|
+
readonly alphaFresnel: Fresnel;
|
|
459
326
|
|
|
460
327
|
/**
|
|
461
|
-
*
|
|
328
|
+
* PhongMaterials's reflectivity {@link Fresnel}.
|
|
462
329
|
*
|
|
463
330
|
* Applies to {@link PhongMaterial.reflectivity}.
|
|
464
331
|
*
|
|
465
332
|
* @type {Fresnel}
|
|
466
333
|
*/
|
|
467
|
-
|
|
334
|
+
readonly reflectivityFresnel: Fresnel;
|
|
468
335
|
|
|
469
336
|
/**
|
|
470
337
|
* Destroys this PhongMaterial.
|
|
@@ -36,173 +36,92 @@ export declare class PointsMaterial extends Material {
|
|
|
36
36
|
constructor(owner: Component, cfg?: PointsMaterialConfiguration);
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Available PointsMaterial presets.
|
|
40
40
|
*
|
|
41
41
|
* @type {Object}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
readonly presets: any;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Preset ````PointsMaterial```` configuration.
|
|
47
47
|
*
|
|
48
48
|
* Default value is ````"default"````.
|
|
49
49
|
*
|
|
50
50
|
* @type {String}
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
preset: string;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Default value is ````"default"````.
|
|
58
|
-
*
|
|
59
|
-
* @type {String}
|
|
60
|
-
*/
|
|
61
|
-
get preset(): string;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Sets point size.
|
|
65
|
-
*
|
|
66
|
-
* Default value is ````2.0```` pixels.
|
|
67
|
-
*
|
|
68
|
-
* @type {Number}
|
|
69
|
-
*/
|
|
70
|
-
set pointSize(arg: number);
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Gets point size.
|
|
55
|
+
* Point size.
|
|
74
56
|
*
|
|
75
57
|
* Default value is ````2.0```` pixels.
|
|
76
58
|
*
|
|
77
59
|
* @type {Number}
|
|
78
60
|
*/
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Sets if points are round or square.
|
|
83
|
-
*
|
|
84
|
-
* Default is ````true```` to set points round.
|
|
85
|
-
*
|
|
86
|
-
* @type {Boolean}
|
|
87
|
-
*/
|
|
88
|
-
set roundPoints(arg: boolean);
|
|
61
|
+
pointSize: number;
|
|
89
62
|
|
|
90
63
|
/**
|
|
91
|
-
*
|
|
64
|
+
* Whether points are round or square.
|
|
92
65
|
*
|
|
93
66
|
* Default is ````true```` to set points round.
|
|
94
67
|
*
|
|
95
68
|
* @type {Boolean}
|
|
96
69
|
*/
|
|
97
|
-
|
|
70
|
+
roundPoints: boolean;
|
|
98
71
|
|
|
99
72
|
/**
|
|
100
|
-
*
|
|
73
|
+
* Whether rendered point size reduces with distance when {@link Camera.projection} is set to ````"perspective"````.
|
|
101
74
|
*
|
|
102
75
|
* Default is ````true````.
|
|
103
76
|
*
|
|
104
77
|
* @type {Boolean}
|
|
105
78
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Gets if rendered point size reduces with distance when {@link Camera.projection} is set to "perspective".
|
|
110
|
-
*
|
|
111
|
-
* Default is ````false````.
|
|
112
|
-
*
|
|
113
|
-
* @type {Boolean}
|
|
114
|
-
*/
|
|
115
|
-
get perspectivePoints(): boolean;
|
|
79
|
+
perspectivePoints: boolean;
|
|
116
80
|
|
|
117
81
|
/**
|
|
118
|
-
*
|
|
82
|
+
* The minimum rendered size of points when {@link PointsMaterial.perspectivePoints} is ````true````.
|
|
119
83
|
*
|
|
120
84
|
* Default value is ````1.0```` pixels.
|
|
121
85
|
*
|
|
122
86
|
* @type {Number}
|
|
123
87
|
*/
|
|
124
|
-
|
|
88
|
+
minPerspectivePointSize: number;
|
|
125
89
|
|
|
126
90
|
/**
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* Default value is ````1.0```` pixels.
|
|
130
|
-
*
|
|
131
|
-
* @type {Number}
|
|
132
|
-
*/
|
|
133
|
-
get minPerspectivePointSize(): number;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Sets the maximum rendered size of points when {@link PointsMaterial.perspectivePoints} is ````true````.
|
|
137
|
-
*
|
|
138
|
-
* Default value is ````6```` pixels.
|
|
139
|
-
*
|
|
140
|
-
* @type {Number}
|
|
141
|
-
*/
|
|
142
|
-
set maxPerspectivePointSize(arg: number);
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Gets the maximum rendered size of points when {@link PointsMaterial.perspectivePoints} is ````true````.
|
|
91
|
+
* The maximum rendered size of points when {@link PointsMaterial.perspectivePoints} is ````true````.
|
|
146
92
|
*
|
|
147
93
|
* Default value is ````6```` pixels.
|
|
148
94
|
*
|
|
149
95
|
* @type {Number}
|
|
150
96
|
*/
|
|
151
|
-
|
|
97
|
+
maxPerspectivePointSize: number;
|
|
152
98
|
|
|
153
99
|
/**
|
|
154
|
-
*
|
|
100
|
+
* Whether intensity filtering is enabled.
|
|
155
101
|
*
|
|
156
102
|
* Default is ````false````.
|
|
157
103
|
*
|
|
158
104
|
* @type {Boolean}
|
|
159
105
|
*/
|
|
160
|
-
|
|
106
|
+
filterIntensity: boolean;
|
|
161
107
|
|
|
162
108
|
/**
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* Default is ````false````.
|
|
166
|
-
*
|
|
167
|
-
* @type {Boolean}
|
|
168
|
-
*/
|
|
169
|
-
get filterIntensity(): boolean;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Sets the minimum rendered size of points when {@link PointsMaterial.perspectivePoints} is ````true````.
|
|
173
|
-
*
|
|
174
|
-
* Default value is ````0````.
|
|
175
|
-
*
|
|
176
|
-
* @type {Number}
|
|
177
|
-
*/
|
|
178
|
-
set minIntensity(arg: number);
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Gets the minimum rendered size of points when {@link PointsMaterial.filterIntensity} is ````true````.
|
|
109
|
+
* The minimum intensity when {@link PointsMaterial.filterIntensity} is ````true````.
|
|
182
110
|
*
|
|
183
111
|
* Default value is ````0````.
|
|
184
112
|
*
|
|
185
113
|
* @type {Number}
|
|
186
114
|
*/
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Sets the maximum rendered size of points when {@link PointsMaterial.filterIntensity} is ````true````.
|
|
191
|
-
*
|
|
192
|
-
* Default value is ````1````.
|
|
193
|
-
*
|
|
194
|
-
* @type {Number}
|
|
195
|
-
*/
|
|
196
|
-
set maxIntensity(arg: number);
|
|
115
|
+
minIntensity: number;
|
|
197
116
|
|
|
198
117
|
/**
|
|
199
|
-
*
|
|
118
|
+
* The maximum intensity when {@link PointsMaterial.filterIntensity} is ````true````.
|
|
200
119
|
*
|
|
201
120
|
* Default value is ````1````.
|
|
202
121
|
*
|
|
203
122
|
* @type {Number}
|
|
204
123
|
*/
|
|
205
|
-
|
|
124
|
+
maxIntensity: number;
|
|
206
125
|
|
|
207
126
|
/**
|
|
208
127
|
* Destroys this ````PointsMaterial````.
|