@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
@@ -92,7 +92,7 @@ export declare class Scene extends Component {
92
92
  /**
93
93
  * The epoch time (in milliseconds since 1970) when this Scene was instantiated.
94
94
  */
95
- readonly startTime: Date;
95
+ get startTime(): Date;
96
96
 
97
97
  /**
98
98
  * Map of {@link Entity}s that represent models.
@@ -100,7 +100,7 @@ export declare class Scene extends Component {
100
100
  * Each {@link Entity} is mapped here by {@link Entity.id} when {@link Entity.isModel} is ````true````.
101
101
  * @type {{String:Entity}}
102
102
  */
103
- readonly models: {[key: string]: Entity};
103
+ get models(): {[key: string]: Entity};
104
104
 
105
105
  /**
106
106
  * Map of {@link Entity}s that represents objects.
@@ -109,7 +109,7 @@ export declare class Scene extends Component {
109
109
  * @final
110
110
  * @type {{String:Entity}}
111
111
  */
112
- readonly objects: {[key: string]: Entity};
112
+ get objects(): {[key: string]: Entity};
113
113
 
114
114
  /**
115
115
  * Map of {@link SectionPlane}s that represent sliced section planes.
@@ -117,7 +117,7 @@ export declare class Scene extends Component {
117
117
  * Each {@link SectionPlane} is mapped here by {@link SectionPlane.id}.
118
118
  * @type {{String:SectionPlane}}
119
119
  */
120
- readonly sectionPlanes: { [key: string]: SectionPlane };
120
+ get sectionPlanes(): { [key: string]: SectionPlane };
121
121
 
122
122
  /**
123
123
  * Map of currently visible {@link Entity}s that represent objects.
@@ -125,7 +125,7 @@ export declare class Scene extends Component {
125
125
  * An Entity represents an object if {@link Entity.isObject} is ````true````, and is visible when {@link Entity.visible} is true.
126
126
  * @type {{String:Object}}
127
127
  */
128
- readonly visibleObjects: {[key: string]: Entity};
128
+ get visibleObjects(): {[key: string]: Entity};
129
129
 
130
130
  /**
131
131
  * Map of currently xrayed {@link Entity}s that represent objects.
@@ -136,7 +136,7 @@ export declare class Scene extends Component {
136
136
  *
137
137
  * @type {{String:Object}}
138
138
  */
139
- readonly xrayedObjects: {[key: string]: Entity};
139
+ get xrayedObjects(): {[key: string]: Entity};
140
140
 
141
141
  /**
142
142
  * Map of currently highlighted {@link Entity}s that represent objects.
@@ -147,7 +147,7 @@ export declare class Scene extends Component {
147
147
  *
148
148
  * @type {{String:Object}}
149
149
  */
150
- readonly highlightedObjects: {[key: string]: Entity};
150
+ get highlightedObjects(): {[key: string]: Entity};
151
151
 
152
152
  /**
153
153
  * Map of currently selected {@link Entity}s that represent objects.
@@ -158,7 +158,7 @@ export declare class Scene extends Component {
158
158
  *
159
159
  * @type {{String:Object}}
160
160
  */
161
- readonly selectedObjects: {[key: string]: Entity};
161
+ get selectedObjects(): {[key: string]: Entity};
162
162
 
163
163
  /**
164
164
  * Map of currently colorized {@link Entity}s that represent objects.
@@ -169,7 +169,7 @@ export declare class Scene extends Component {
169
169
  *
170
170
  * @type {{String:Object}}
171
171
  */
172
- readonly colorizedObjects: {[key: string]: Entity};
172
+ get colorizedObjects(): {[key: string]: Entity};
173
173
 
174
174
  /**
175
175
  * Map of {@link Entity}s that represent objects whose opacity was updated.
@@ -180,7 +180,7 @@ export declare class Scene extends Component {
180
180
  *
181
181
  * @type {{String:Object}}
182
182
  */
183
- readonly opacityObjects: {[key: string]: Entity};
183
+ get opacityObjects(): {[key: string]: Entity};
184
184
 
185
185
  /**
186
186
  * Map of {@link Entity}s that represent objects whose {@link Entity.offset}s were updated.
@@ -193,7 +193,7 @@ export declare class Scene extends Component {
193
193
  * @final
194
194
  * @type {{String:Object}}
195
195
  */
196
- readonly offsetObjects: {[key: string]: Entity};
196
+ get offsetObjects(): {[key: string]: Entity};
197
197
 
198
198
  /**
199
199
  * Whether {@link Entity.offset} is enabled.
@@ -202,7 +202,7 @@ export declare class Scene extends Component {
202
202
  *
203
203
  * @returns {Boolean} True if {@link Entity.offset} is enabled.
204
204
  */
205
- readonly entityOffsetsEnabled: boolean;
205
+ get entityOffsetsEnabled(): boolean;
206
206
 
207
207
  /**
208
208
  * Whether geometry is readable.
@@ -215,7 +215,7 @@ export declare class Scene extends Component {
215
215
  *
216
216
  * @returns {Boolean} True if geometry is readable.
217
217
  */
218
- readonly readableGeometryEnabled: boolean;
218
+ get readableGeometryEnabled(): boolean;
219
219
 
220
220
  /**
221
221
  * Whether precision surface picking is enabled.
@@ -228,7 +228,7 @@ export declare class Scene extends Component {
228
228
  *
229
229
  * @returns {Boolean} True if precision picking is enabled.
230
230
  */
231
- readonly pickSurfacePrecisionEnabled: boolean;
231
+ get pickSurfacePrecisionEnabled(): boolean;
232
232
 
233
233
  /**
234
234
  * Whether logarithmic depth buffer is enabled.
@@ -237,10 +237,10 @@ export declare class Scene extends Component {
237
237
  *
238
238
  * @returns {Boolean} True if logarithmic depth buffer is enabled.
239
239
  */
240
- readonly logarithmicDepthBufferEnabled: boolean;
240
+ get logarithmicDepthBufferEnabled(): boolean;
241
241
 
242
242
  /**
243
- * The number of {@link SectionPlane}s for which this Scene pre-caches resources.
243
+ * Sets the number of {@link SectionPlane}s for which this Scene pre-caches resources.
244
244
  *
245
245
  * This property enhances the efficiency of SectionPlane creation by proactively allocating and caching Viewer resources for a specified quantity
246
246
  * of SectionPlanes. Introducing this parameter streamlines the initial creation speed of SectionPlanes, particularly up to the designated quantity. This parameter internally
@@ -250,19 +250,40 @@ export declare class Scene extends Component {
250
250
  *
251
251
  * Default is ````0````.
252
252
  */
253
- numCachedSectionPlanes: number;
253
+ set numCachedSectionPlanes(numCachedSectionPlanes: number);
254
254
 
255
255
  /**
256
- * Whether physically-based rendering is enabled.
256
+ * Gets the number of {@link SectionPlane}s for which this Scene pre-caches resources.
257
+ *
258
+ * This property enhances the efficiency of SectionPlane creation by proactively allocating and caching Viewer resources for a specified quantity
259
+ * of SectionPlanes. Introducing this parameter streamlines the initial creation speed of SectionPlanes, particularly up to the designated quantity. This parameter internally
260
+ * configures renderer logic for the specified number of SectionPlanes, eliminating the need for setting up logic with each SectionPlane creation and thereby enhancing
261
+ * responsiveness. It is important to consider that each SectionPlane impacts rendering performance, so it is recommended to set this value to a quantity that aligns with
262
+ * your expected usage.
263
+ *
264
+ * Default is ````0````.
265
+ *
266
+ * @returns {number} The number of {@link SectionPlane}s for which this Scene pre-caches resources.
267
+ */
268
+ get numCachedSectionPlanes(): number;
269
+
270
+ /**
271
+ * Sets whether physically-based rendering is enabled.
272
+ *
273
+ */
274
+ set pbrEnabled(value: boolean);
275
+
276
+ /**
277
+ * Gets whether quality rendering is enabled.
257
278
  *
258
279
  * Default is ````false````.
259
280
  *
260
281
  * @returns {Boolean} True if quality rendering is enabled.
261
282
  */
262
- pbrEnabled: boolean;
283
+ get pbrEnabled(): boolean
263
284
 
264
285
  /**
265
- * Whether data texture scene representation (DTX) is enabled for the {@link Scene}.
286
+ * Sets whether data texture scene representation (DTX) is enabled for the {@link Scene}.
266
287
  *
267
288
  * Even when enabled, DTX will only work if supported.
268
289
  *
@@ -270,19 +291,37 @@ export declare class Scene extends Component {
270
291
  *
271
292
  * @type {Boolean}
272
293
  */
273
- dtxEnabled: boolean;
294
+ set dtxEnabled(value: boolean);
274
295
 
275
296
  /**
276
- * Whether basic color texture rendering is enabled.
297
+ * Gets whether data texture-based scene representation (DTX) is enabled for the {@link Scene}.
298
+ *
299
+ * Even when enabled, DTX will only apply if supported.
300
+ *
301
+ * Default value is ````false````.
302
+ *
303
+ * @type {Boolean}
304
+ */
305
+ get dtxEnabled(): boolean;
306
+
307
+ /**
308
+ * Sets whether basic color texture rendering is enabled.
309
+ *
310
+ * Default is ````true````.
311
+ */
312
+ set colorTextureEnabled(colorTextureEnabled: boolean);
313
+
314
+ /**
315
+ * Gets whether basic color texture rendering is enabled.
277
316
  *
278
317
  * Default is ````true````.
279
318
  *
280
319
  * @returns {Boolean} True if basic color texture rendering is enabled.
281
320
  */
282
- colorTextureEnabled: boolean;
321
+ get colorTextureEnabled(): boolean;
283
322
 
284
323
  /**
285
- * The Z value of offset for Marker's OcclusionTester.
324
+ * Gets the Z value of offset for Marker's OcclusionTester.
286
325
  * The closest the value is to 0.000 the more precise OcclusionTester will be, but at the same time the less
287
326
  * precise it will behave for Markers that are located exactly on the Surface.
288
327
  *
@@ -290,139 +329,175 @@ export declare class Scene extends Component {
290
329
  *
291
330
  * @returns {Number} Z offset for Marker
292
331
  */
293
- readonly markerZOffset: number;
332
+ get markerZOffset(): number
294
333
 
295
334
  /**
296
- * The IDs of the {@link Entity}s in {@link Scene.models}.
335
+ * Gets the IDs of the {@link Entity}s in {@link Scene.models}.
297
336
  *
298
337
  * @type {String[]}
299
338
  */
300
- readonly modelIds: string[];
339
+ get modelIds(): string[];
301
340
 
302
341
  /**
303
- * The number of {@link Entity}s in {@link Scene.objects}.
342
+ * Gets the number of {@link Entity}s in {@link Scene.objects}.
304
343
  *
305
344
  * @type {Number}
306
345
  */
307
- readonly numObjects: number;
346
+ get numObjects(): number;
308
347
 
309
348
  /**
310
- * The IDs of the {@link Entity}s in {@link Scene.objects}.
349
+ * Gets the IDs of the {@link Entity}s in {@link Scene.objects}.
311
350
  *
312
351
  * @type {String[]}
313
352
  */
314
- readonly objectIds: string[];
353
+ get objectIds(): string[];
315
354
 
316
355
  /**
317
- * The number of {@link Entity}s in {@link Scene.visibleObjects}.
356
+ * Gets the number of {@link Entity}s in {@link Scene.visibleObjects}.
318
357
  *
319
358
  * @type {Number}
320
359
  */
321
- readonly numVisibleObjects: number;
360
+ get numVisibleObjects(): number;
322
361
 
323
362
  /**
324
- * The IDs of the {@link Entity}s in {@link Scene.visibleObjects}.
363
+ * Gets the IDs of the {@link Entity}s in {@link Scene.visibleObjects}.
325
364
  *
326
365
  * @type {String[]}
327
366
  */
328
- readonly visibleObjectIds: string[];
367
+ get visibleObjectIds(): string[];
329
368
 
330
369
  /**
331
- * The number of {@link Entity}s in {@link Scene.xrayedObjects}.
370
+ * Gets the number of {@link Entity}s in {@link Scene.xrayedObjects}.
332
371
  *
333
372
  * @type {Number}
334
373
  */
335
- readonly numXRayedObjects: number;
374
+ get numXRayedObjects(): number;
336
375
 
337
376
  /**
338
- * The IDs of the {@link Entity}s in {@link Scene.xrayedObjects}.
377
+ * Gets the IDs of the {@link Entity}s in {@link Scene.xrayedObjects}.
339
378
  *
340
379
  * @type {String[]}
341
380
  */
342
- readonly xrayedObjectIds: string[];
381
+ get xrayedObjectIds(): string[];
343
382
 
344
383
  /**
345
- * The number of {@link Entity}s in {@link Scene.highlightedObjects}.
384
+ * Gets the number of {@link Entity}s in {@link Scene.highlightedObjects}.
346
385
  *
347
386
  * @type {Number}
348
387
  */
349
- readonly numHighlightedObjects: number;
388
+ get numHighlightedObjects(): number;
350
389
 
351
390
  /**
352
- * The IDs of the {@link Entity}s in {@link Scene.highlightedObjects}.
391
+ * Gets the IDs of the {@link Entity}s in {@link Scene.highlightedObjects}.
353
392
  *
354
393
  * @type {String[]}
355
394
  */
356
- readonly highlightedObjectIds: string[];
395
+ get highlightedObjectIds(): string[];
357
396
 
358
397
  /**
359
- * The number of {@link Entity}s in {@link Scene.selectedObjects}.
398
+ * Gets the number of {@link Entity}s in {@link Scene.selectedObjects}.
360
399
  *
361
400
  * @type {Number}
362
401
  */
363
- readonly numSelectedObjects: number;
402
+ get numSelectedObjects(): number;
364
403
 
365
404
  /**
366
- * The IDs of the {@link Entity}s in {@link Scene.selectedObjects}.
405
+ * Gets the IDs of the {@link Entity}s in {@link Scene.selectedObjects}.
367
406
  *
368
407
  * @type {String[]}
369
408
  */
370
- readonly selectedObjectIds: string[];
409
+ get selectedObjectIds(): string[];
371
410
 
372
411
  /**
373
- * The number of {@link Entity}s in {@link Scene.colorizedObjects}.
412
+ * Gets the number of {@link Entity}s in {@link Scene.colorizedObjects}.
374
413
  *
375
414
  * @type {Number}
376
415
  */
377
- readonly numColorizedObjects: number;
416
+ get numColorizedObjects(): number;
378
417
 
379
418
  /**
380
- * The IDs of the {@link Entity}s in {@link Scene.colorizedObjects}.
419
+ * Gets the IDs of the {@link Entity}s in {@link Scene.colorizedObjects}.
381
420
  *
382
421
  * @type {String[]}
383
422
  */
384
- readonly colorizedObjectIds: string[];
423
+ get colorizedObjectIds(): string[];
385
424
 
386
425
  /**
387
- * The IDs of the {@link Entity}s in {@link Scene.opacityObjects}.
426
+ * Gets the IDs of the {@link Entity}s in {@link Scene.opacityObjects}.
388
427
  *
389
428
  * @type {String[]}
390
429
  */
391
- readonly opacityObjectIds: string[];
430
+ get opacityObjectIds(): string[];
392
431
 
393
432
  /**
394
- * The IDs of the {@link Entity}s in {@link Scene.offsetObjects}.
433
+ * Gets the IDs of the {@link Entity}s in {@link Scene.offsetObjects}.
395
434
  *
396
435
  * @type {String[]}
397
436
  */
398
- readonly offsetObjectIds: string[];
437
+ get offsetObjectIds(): string[];
399
438
 
400
439
  /**
401
- * The number of "ticks" that happen between each render or this Scene.
440
+ * Sets the number of "ticks" that happen between each render or this Scene.
402
441
  *
403
442
  * Default value is ````1````.
404
443
  *
405
444
  * @type {Number}
406
445
  */
407
- ticksPerRender: number;
446
+ set ticksPerRender(value: number);
408
447
 
409
448
  /**
410
- * The number of "ticks" that happen between occlusion testing for {@link Marker}s.
449
+ * Gets the number of "ticks" that happen between each render or this Scene.
450
+ *
451
+ * Default value is ````1````.
452
+ *
453
+ * @type {Number}
454
+ */
455
+ get ticksPerRender(): number;
456
+
457
+ /**
458
+ * Sets the number of "ticks" that happen between occlusion testing for {@link Marker}s.
411
459
  *
412
460
  * Default value is ````20````.
413
461
  *
414
462
  * @type {Number}
415
463
  */
416
- ticksPerOcclusionTest: number;
464
+ set ticksPerOcclusionTest(value: number);
465
+
466
+ /**
467
+ * Gets the number of "ticks" that happen between each render of this Scene.
468
+ *
469
+ * Default value is ````1````.
470
+ *
471
+ * @type {Number}
472
+ */
473
+ get ticksPerOcclusionTest(): number;
474
+
475
+ /**
476
+ * Sets the number of times this Scene renders per frame.
477
+ *
478
+ * Default value is ````1````.
479
+ *
480
+ * @type {Number}
481
+ */
482
+ set passes(value: number)
417
483
 
418
484
  /**
419
- * The number of times this Scene renders per frame.
485
+ * Gets the number of times this Scene renders per frame.
420
486
  *
421
487
  * Default value is ````1````.
422
488
  *
423
489
  * @type {Number}
424
490
  */
425
- passes: number;
491
+ get passes(): number;
492
+
493
+ /**
494
+ * When {@link Scene.passes} is greater than ````1````, indicates whether or not to clear the canvas before each pass (````true````) or just before the first pass (````false````).
495
+ *
496
+ * Default value is ````false````.
497
+ *
498
+ * @type {Boolean}
499
+ */
500
+ set clearEachPass(value: boolean);
426
501
 
427
502
  /**
428
503
  * When {@link Scene.passes} is greater than ````1````, indicates whether or not to clear the canvas before each pass (````true````) or just before the first pass (````false````).
@@ -431,37 +506,64 @@ export declare class Scene extends Component {
431
506
  *
432
507
  * @type {Boolean}
433
508
  */
434
- clearEachPass: boolean;
509
+ get clearEachPass(): boolean;
435
510
 
436
511
  /**
437
- * Whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
512
+ * Sets whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
438
513
  *
439
514
  * Default value is ````false````.
440
515
  *
441
516
  * @type {Boolean}
442
517
  */
443
- gammaInput: boolean;
518
+ set gammaInput(value: boolean);
444
519
 
445
520
  /**
446
- * Whether or not to render pixels with pre-multiplied gama.
521
+ * Gets whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
447
522
  *
448
523
  * Default value is ````false````.
449
524
  *
450
525
  * @type {Boolean}
451
526
  */
452
- gammaOutput: boolean;
527
+ get gammaInput(): boolean;
528
+
529
+ /**
530
+ * Sets whether or not to render pixels with pre-multiplied gama.
531
+ *
532
+ * Default value is ````false````.
533
+ *
534
+ * @type {Boolean}
535
+ */
536
+ set gammaOutput(value: boolean);
537
+
538
+ /**
539
+ * Gets whether or not to render pixels with pre-multiplied gama.
540
+ *
541
+ * Default value is ````true````.
542
+ *
543
+ * @type {Boolean}
544
+ */
545
+ get gammaOutput(): boolean;
546
+
547
+ /**
548
+ * Sets the gamma factor to use when {@link Scene.gammaOutput} is set true.
549
+ *
550
+ * Default value is ````2.2````.
551
+ *
552
+ * @type {Number}
553
+ */
554
+ set gammaFactor(value: number);
453
555
 
454
556
  /**
455
- * The gamma factor to use when {@link Scene.gammaOutput} is set true.
557
+ * Gets the gamma factor to use when {@link Scene.gammaOutput} is set true.
456
558
  *
457
559
  * Default value is ````2.2````.
458
560
  *
459
561
  * @type {Number}
460
562
  */
461
- gammaFactor: number;
563
+ get gammaFactor(): number;
462
564
 
463
565
  /**
464
- * The default {@link Geometry} for this Scene, which is a {@link ReadableGeometry} with a unit-sized box shape.
566
+ * Gets the default {@link Geometry} for this Scene, which is a {@link ReadableGeometry} with a unit-sized box shape.
465
567
  *
466
568
  * Has {@link ReadableGeometry.id} set to "default.geometry".
467
569
  *
@@ -469,10 +571,10 @@ export declare class Scene extends Component {
469
571
  *
470
572
  * @type {ReadableGeometry}
471
573
  */
472
- readonly geometry: ReadableGeometry;
574
+ get geometry(): ReadableGeometry;
473
575
 
474
576
  /**
475
- * The default {@link Material} for this Scene, which is a {@link PhongMaterial}.
577
+ * Gets the default {@link Material} for this Scene, which is a {@link PhongMaterial}.
476
578
  *
477
579
  * Has {@link PhongMaterial.id} set to "default.material".
478
580
  *
@@ -480,10 +582,10 @@ export declare class Scene extends Component {
480
582
  *
481
583
  * @type {PhongMaterial}
482
584
  */
483
- readonly material: PhongMaterial;
585
+ get material(): PhongMaterial;
484
586
 
485
587
  /**
486
- * The default xraying {@link EmphasisMaterial} for this Scene.
588
+ * Gets the default xraying {@link EmphasisMaterial} for this Scene.
487
589
  *
488
590
  * Has {@link EmphasisMaterial.id} set to "default.xrayMaterial".
489
591
  *
@@ -493,10 +595,10 @@ export declare class Scene extends Component {
493
595
  *
494
596
  * @type {EmphasisMaterial}
495
597
  */
496
- readonly xrayMaterial: EmphasisMaterial;
598
+ get xrayMaterial(): EmphasisMaterial;
497
599
 
498
600
  /**
499
- * The default highlight {@link EmphasisMaterial} for this Scene.
601
+ * Gets the default highlight {@link EmphasisMaterial} for this Scene.
500
602
  *
501
603
  * Has {@link EmphasisMaterial.id} set to "default.highlightMaterial".
502
604
  *
@@ -506,10 +608,10 @@ export declare class Scene extends Component {
506
608
  *
507
609
  * @type {EmphasisMaterial}
508
610
  */
509
- readonly highlightMaterial: EmphasisMaterial;
611
+ get highlightMaterial(): EmphasisMaterial;
510
612
 
511
613
  /**
512
- * The default selection {@link EmphasisMaterial} for this Scene.
614
+ * Gets the default selection {@link EmphasisMaterial} for this Scene.
513
615
  *
514
616
  * Has {@link EmphasisMaterial.id} set to "default.selectedMaterial".
515
617
  *
@@ -519,10 +621,10 @@ export declare class Scene extends Component {
519
621
  *
520
622
  * @type {EmphasisMaterial}
521
623
  */
522
- readonly selectedMaterial: EmphasisMaterial;
624
+ get selectedMaterial(): EmphasisMaterial;
523
625
 
524
626
  /**
525
- * The default {@link EdgeMaterial} for this Scene.
627
+ * Gets the default {@link EdgeMaterial} for this Scene.
526
628
  *
527
629
  * Has {@link EdgeMaterial.id} set to "default.edgeMaterial".
528
630
  *
@@ -532,45 +634,45 @@ export declare class Scene extends Component {
532
634
  *
533
635
  * @type {EdgeMaterial}
534
636
  */
535
- readonly edgeMaterial: EdgeMaterial;
637
+ get edgeMaterial(): EdgeMaterial;
536
638
 
537
639
  /**
538
- * The {@link PointsMaterial} for this Scene.
640
+ * Gets the {@link PointsMaterial} for this Scene.
539
641
  *
540
642
  * @type {PointsMaterial}
541
643
  */
542
- readonly pointsMaterial: PointsMaterial;
644
+ get pointsMaterial(): PointsMaterial
543
645
 
544
646
  /**
545
- * The {@link LinesMaterial} for this Scene.
647
+ * Gets the {@link LinesMaterial} for this Scene.
546
648
  *
547
649
  * @type {LinesMaterial}
548
650
  */
549
- readonly linesMaterial: LinesMaterial;
651
+ get linesMaterial(): LinesMaterial
550
652
 
551
653
  /**
552
- * The {@link Viewport} for this Scene.
654
+ * Gets the {@link Viewport} for this Scene.
553
655
  *
554
656
  * @type Viewport
555
657
  */
556
- readonly viewport: Viewport;
658
+ get viewport(): Viewport
557
659
 
558
660
  /**
559
- * The {@link Camera} for this Scene.
661
+ * Gets the {@link Camera} for this Scene.
560
662
  *
561
663
  * @type {Camera}
562
664
  */
563
- readonly camera: Camera;
665
+ get camera(): Camera;
564
666
 
565
667
  /**
566
- * The World-space 3D center of this Scene.
668
+ * Gets the World-space 3D center of this Scene.
567
669
  *
568
670
  *@type {Number[]}
569
671
  */
570
- readonly center: number[];
672
+ get center(): number[];
571
673
 
572
674
  /**
573
- * The World-space axis-aligned 3D boundary (AABB) of this Scene.
675
+ * Gets the World-space axis-aligned 3D boundary (AABB) of this Scene.
574
676
  *
575
677
  * The AABB is represented by a six-element Float64Array containing the min/max extents of the axis-aligned volume, ie. ````[xmin, ymin,zmin,xmax,ymax, zmax]````.
576
678
  *
@@ -578,11 +680,11 @@ export declare class Scene extends Component {
578
680
  *
579
681
  * @type {Number[]}
580
682
  */
581
- readonly aabb: number[];
683
+ get aabb(): number[];
582
684
 
583
- readonly sao: SAO;
685
+ get sao(): SAO;
584
686
 
585
- readonly input: Input;
687
+ get input(): Input;
586
688
 
587
689
  /**
588
690
  * Performs an occlusion test on all {@link Marker}s in this {@link Scene}.