@xeokit/xeokit-sdk 2.6.78-rc2-no-las → 2.6.78

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