@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.
Files changed (75) hide show
  1. package/README.md +3 -3
  2. package/dist/xeokit-sdk.cjs.js +15512 -32635
  3. package/dist/xeokit-sdk.es.js +15513 -32634
  4. package/dist/xeokit-sdk.es5.js +31259 -29843
  5. package/dist/xeokit-sdk.es5.js.map +1 -0
  6. package/dist/xeokit-sdk.min.cjs.js +8 -8
  7. package/dist/xeokit-sdk.min.es.js +8 -8
  8. package/dist/xeokit-sdk.min.es5.js +34 -33
  9. package/dist/xeokit-sdk.min.es5.js.map +1 -0
  10. package/package.json +7 -3
  11. package/src/plugins/CxConverterIFCLoaderPlugin/CxConverterIFCLoaderPlugin.js +81 -81
  12. package/src/plugins/CxConverterIFCLoaderPlugin/index.js +1 -1
  13. package/src/plugins/LASLoaderPlugin/index.js +1 -1
  14. package/src/plugins/NavCubePlugin/NavCubePlugin.js +63 -22
  15. package/src/plugins/XKTLoaderPlugin/parsers/ParserV1.js +5 -5
  16. package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +5 -5
  17. package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +9 -9
  18. package/src/plugins/XKTLoaderPlugin/parsers/ParserV2.js +5 -5
  19. package/src/plugins/XKTLoaderPlugin/parsers/ParserV3.js +5 -5
  20. package/src/plugins/XKTLoaderPlugin/parsers/ParserV4.js +5 -5
  21. package/src/plugins/XKTLoaderPlugin/parsers/ParserV5.js +5 -5
  22. package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +5 -5
  23. package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +5 -5
  24. package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +5 -5
  25. package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +5 -5
  26. package/src/plugins/index.js +2 -2
  27. package/src/viewer/scene/CameraControl/lib/handlers/TouchPickHandler.js +7 -6
  28. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +26 -108
  29. package/types/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.d.ts +3 -14
  30. package/types/plugins/DotBIMLoaderPlugin/DotBIMLoaderPlugin.d.ts +5 -23
  31. package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +5 -25
  32. package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +20 -100
  33. package/types/plugins/STLLoaderPlugin/STLLoaderPlugin.d.ts +3 -14
  34. package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +18 -83
  35. package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +21 -106
  36. package/types/viewer/Configs.d.ts +6 -24
  37. package/types/viewer/scene/CameraControl/CameraControl.d.ts +66 -445
  38. package/types/viewer/scene/Component.d.ts +1 -1
  39. package/types/viewer/scene/Entity.d.ts +40 -186
  40. package/types/viewer/scene/camera/Camera.d.ts +50 -170
  41. package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +8 -57
  42. package/types/viewer/scene/camera/CameraPath.d.ts +8 -13
  43. package/types/viewer/scene/camera/CameraPathAnimation.d.ts +4 -22
  44. package/types/viewer/scene/camera/CustomProjection.d.ts +6 -21
  45. package/types/viewer/scene/camera/Frustum.d.ts +18 -90
  46. package/types/viewer/scene/camera/Ortho.d.ts +14 -54
  47. package/types/viewer/scene/camera/Perspective.d.ts +16 -70
  48. package/types/viewer/scene/geometry/ReadableGeometry.d.ts +21 -25
  49. package/types/viewer/scene/geometry/VBOGeometry.d.ts +7 -7
  50. package/types/viewer/scene/lights/AmbientLight.d.ts +4 -26
  51. package/types/viewer/scene/lights/DirLight.d.ts +8 -52
  52. package/types/viewer/scene/lights/PointLight.d.ts +14 -93
  53. package/types/viewer/scene/materials/EdgeMaterial.d.ts +12 -37
  54. package/types/viewer/scene/materials/EmphasisMaterial.d.ts +22 -119
  55. package/types/viewer/scene/materials/Fresnel.d.ts +10 -50
  56. package/types/viewer/scene/materials/LambertMaterial.d.ts +16 -90
  57. package/types/viewer/scene/materials/LinesMaterial.d.ts +7 -25
  58. package/types/viewer/scene/materials/MetallicMaterial.d.ts +40 -127
  59. package/types/viewer/scene/materials/PhongMaterial.d.ts +52 -185
  60. package/types/viewer/scene/materials/PointsMaterial.d.ts +20 -101
  61. package/types/viewer/scene/materials/SpecularMaterial.d.ts +41 -117
  62. package/types/viewer/scene/materials/Texture.d.ts +22 -62
  63. package/types/viewer/scene/models/SceneModel.d.ts +76 -233
  64. package/types/viewer/scene/models/SceneModelEntity.d.ts +50 -211
  65. package/types/viewer/scene/models/SceneModelMesh.d.ts +4 -4
  66. package/types/viewer/scene/models/SceneModelTransform.d.ts +14 -59
  67. package/types/viewer/scene/paths/CubicBezierCurve.d.ts +12 -73
  68. package/types/viewer/scene/paths/Curve.d.ts +6 -19
  69. package/types/viewer/scene/paths/Path.d.ts +10 -57
  70. package/types/viewer/scene/paths/QuadraticBezierCurve.d.ts +10 -57
  71. package/types/viewer/scene/paths/SplineCurve.d.ts +6 -32
  72. package/types/viewer/scene/scene/Scene.d.ts +94 -196
  73. package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +12 -69
  74. package/types/viewer/scene/viewport/Viewport.d.ts +4 -14
  75. package/types/viewer/scene/webgl/PickResult.d.ts +13 -28
@@ -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
- get startTime(): Date;
95
+ readonly 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
- get models(): {[key: string]: Entity};
103
+ readonly 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
- get objects(): {[key: string]: Entity};
112
+ readonly 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
- get sectionPlanes(): { [key: string]: SectionPlane };
120
+ readonly 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
- get visibleObjects(): {[key: string]: Entity};
128
+ readonly 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
- get xrayedObjects(): {[key: string]: Entity};
139
+ readonly 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
- get highlightedObjects(): {[key: string]: Entity};
150
+ readonly 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
- get selectedObjects(): {[key: string]: Entity};
161
+ readonly 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
- get colorizedObjects(): {[key: string]: Entity};
172
+ readonly 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
- get opacityObjects(): {[key: string]: Entity};
183
+ readonly 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
- get offsetObjects(): {[key: string]: Entity};
196
+ readonly 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
- get entityOffsetsEnabled(): boolean;
205
+ readonly 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
- get readableGeometryEnabled(): boolean;
218
+ readonly 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
- get pickSurfacePrecisionEnabled(): boolean;
231
+ readonly 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
- get logarithmicDepthBufferEnabled(): boolean;
240
+ readonly logarithmicDepthBufferEnabled: boolean;
241
241
 
242
242
  /**
243
- * Sets the number of {@link SectionPlane}s for which this Scene pre-caches resources.
243
+ * 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,40 +250,19 @@ export declare class Scene extends Component {
250
250
  *
251
251
  * Default is ````0````.
252
252
  */
253
- set numCachedSectionPlanes(numCachedSectionPlanes: number);
253
+ numCachedSectionPlanes: number;
254
254
 
255
255
  /**
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.
256
+ * Whether physically-based rendering is enabled.
278
257
  *
279
258
  * Default is ````false````.
280
259
  *
281
260
  * @returns {Boolean} True if quality rendering is enabled.
282
261
  */
283
- get pbrEnabled(): boolean
262
+ pbrEnabled: boolean;
284
263
 
285
264
  /**
286
- * Sets whether data texture scene representation (DTX) is enabled for the {@link Scene}.
265
+ * Whether data texture scene representation (DTX) is enabled for the {@link Scene}.
287
266
  *
288
267
  * Even when enabled, DTX will only work if supported.
289
268
  *
@@ -291,37 +270,19 @@ export declare class Scene extends Component {
291
270
  *
292
271
  * @type {Boolean}
293
272
  */
294
- set dtxEnabled(value: boolean);
273
+ dtxEnabled: boolean;
295
274
 
296
275
  /**
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.
276
+ * Whether basic color texture rendering is enabled.
316
277
  *
317
278
  * Default is ````true````.
318
279
  *
319
280
  * @returns {Boolean} True if basic color texture rendering is enabled.
320
281
  */
321
- get colorTextureEnabled(): boolean;
282
+ colorTextureEnabled: boolean;
322
283
 
323
284
  /**
324
- * Gets the Z value of offset for Marker's OcclusionTester.
285
+ * The Z value of offset for Marker's OcclusionTester.
325
286
  * The closest the value is to 0.000 the more precise OcclusionTester will be, but at the same time the less
326
287
  * precise it will behave for Markers that are located exactly on the Surface.
327
288
  *
@@ -329,175 +290,139 @@ export declare class Scene extends Component {
329
290
  *
330
291
  * @returns {Number} Z offset for Marker
331
292
  */
332
- get markerZOffset(): number
293
+ readonly markerZOffset: number;
333
294
 
334
295
  /**
335
- * Gets the IDs of the {@link Entity}s in {@link Scene.models}.
296
+ * The IDs of the {@link Entity}s in {@link Scene.models}.
336
297
  *
337
298
  * @type {String[]}
338
299
  */
339
- get modelIds(): string[];
300
+ readonly modelIds: string[];
340
301
 
341
302
  /**
342
- * Gets the number of {@link Entity}s in {@link Scene.objects}.
303
+ * The number of {@link Entity}s in {@link Scene.objects}.
343
304
  *
344
305
  * @type {Number}
345
306
  */
346
- get numObjects(): number;
307
+ readonly numObjects: number;
347
308
 
348
309
  /**
349
- * Gets the IDs of the {@link Entity}s in {@link Scene.objects}.
310
+ * The IDs of the {@link Entity}s in {@link Scene.objects}.
350
311
  *
351
312
  * @type {String[]}
352
313
  */
353
- get objectIds(): string[];
314
+ readonly objectIds: string[];
354
315
 
355
316
  /**
356
- * Gets the number of {@link Entity}s in {@link Scene.visibleObjects}.
317
+ * The number of {@link Entity}s in {@link Scene.visibleObjects}.
357
318
  *
358
319
  * @type {Number}
359
320
  */
360
- get numVisibleObjects(): number;
321
+ readonly numVisibleObjects: number;
361
322
 
362
323
  /**
363
- * Gets the IDs of the {@link Entity}s in {@link Scene.visibleObjects}.
324
+ * The IDs of the {@link Entity}s in {@link Scene.visibleObjects}.
364
325
  *
365
326
  * @type {String[]}
366
327
  */
367
- get visibleObjectIds(): string[];
328
+ readonly visibleObjectIds: string[];
368
329
 
369
330
  /**
370
- * Gets the number of {@link Entity}s in {@link Scene.xrayedObjects}.
331
+ * The number of {@link Entity}s in {@link Scene.xrayedObjects}.
371
332
  *
372
333
  * @type {Number}
373
334
  */
374
- get numXRayedObjects(): number;
335
+ readonly numXRayedObjects: number;
375
336
 
376
337
  /**
377
- * Gets the IDs of the {@link Entity}s in {@link Scene.xrayedObjects}.
338
+ * The IDs of the {@link Entity}s in {@link Scene.xrayedObjects}.
378
339
  *
379
340
  * @type {String[]}
380
341
  */
381
- get xrayedObjectIds(): string[];
342
+ readonly xrayedObjectIds: string[];
382
343
 
383
344
  /**
384
- * Gets the number of {@link Entity}s in {@link Scene.highlightedObjects}.
345
+ * The number of {@link Entity}s in {@link Scene.highlightedObjects}.
385
346
  *
386
347
  * @type {Number}
387
348
  */
388
- get numHighlightedObjects(): number;
349
+ readonly numHighlightedObjects: number;
389
350
 
390
351
  /**
391
- * Gets the IDs of the {@link Entity}s in {@link Scene.highlightedObjects}.
352
+ * The IDs of the {@link Entity}s in {@link Scene.highlightedObjects}.
392
353
  *
393
354
  * @type {String[]}
394
355
  */
395
- get highlightedObjectIds(): string[];
356
+ readonly highlightedObjectIds: string[];
396
357
 
397
358
  /**
398
- * Gets the number of {@link Entity}s in {@link Scene.selectedObjects}.
359
+ * The number of {@link Entity}s in {@link Scene.selectedObjects}.
399
360
  *
400
361
  * @type {Number}
401
362
  */
402
- get numSelectedObjects(): number;
363
+ readonly numSelectedObjects: number;
403
364
 
404
365
  /**
405
- * Gets the IDs of the {@link Entity}s in {@link Scene.selectedObjects}.
366
+ * The IDs of the {@link Entity}s in {@link Scene.selectedObjects}.
406
367
  *
407
368
  * @type {String[]}
408
369
  */
409
- get selectedObjectIds(): string[];
370
+ readonly selectedObjectIds: string[];
410
371
 
411
372
  /**
412
- * Gets the number of {@link Entity}s in {@link Scene.colorizedObjects}.
373
+ * The number of {@link Entity}s in {@link Scene.colorizedObjects}.
413
374
  *
414
375
  * @type {Number}
415
376
  */
416
- get numColorizedObjects(): number;
377
+ readonly numColorizedObjects: number;
417
378
 
418
379
  /**
419
- * Gets the IDs of the {@link Entity}s in {@link Scene.colorizedObjects}.
380
+ * The IDs of the {@link Entity}s in {@link Scene.colorizedObjects}.
420
381
  *
421
382
  * @type {String[]}
422
383
  */
423
- get colorizedObjectIds(): string[];
384
+ readonly colorizedObjectIds: string[];
424
385
 
425
386
  /**
426
- * Gets the IDs of the {@link Entity}s in {@link Scene.opacityObjects}.
387
+ * The IDs of the {@link Entity}s in {@link Scene.opacityObjects}.
427
388
  *
428
389
  * @type {String[]}
429
390
  */
430
- get opacityObjectIds(): string[];
391
+ readonly opacityObjectIds: string[];
431
392
 
432
393
  /**
433
- * Gets the IDs of the {@link Entity}s in {@link Scene.offsetObjects}.
394
+ * The IDs of the {@link Entity}s in {@link Scene.offsetObjects}.
434
395
  *
435
396
  * @type {String[]}
436
397
  */
437
- get offsetObjectIds(): string[];
398
+ readonly offsetObjectIds: string[];
438
399
 
439
400
  /**
440
- * Sets the number of "ticks" that happen between each render or this Scene.
401
+ * The number of "ticks" that happen between each render or this Scene.
441
402
  *
442
403
  * Default value is ````1````.
443
404
  *
444
405
  * @type {Number}
445
406
  */
446
- set ticksPerRender(value: number);
407
+ ticksPerRender: number;
447
408
 
448
409
  /**
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.
410
+ * The number of "ticks" that happen between occlusion testing for {@link Marker}s.
459
411
  *
460
412
  * Default value is ````20````.
461
413
  *
462
414
  * @type {Number}
463
415
  */
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)
416
+ ticksPerOcclusionTest: number;
483
417
 
484
418
  /**
485
- * Gets the number of times this Scene renders per frame.
419
+ * The number of times this Scene renders per frame.
486
420
  *
487
421
  * Default value is ````1````.
488
422
  *
489
423
  * @type {Number}
490
424
  */
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);
425
+ passes: number;
501
426
 
502
427
  /**
503
428
  * 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````).
@@ -506,64 +431,37 @@ export declare class Scene extends Component {
506
431
  *
507
432
  * @type {Boolean}
508
433
  */
509
- get clearEachPass(): boolean;
434
+ clearEachPass: boolean;
510
435
 
511
436
  /**
512
- * Sets whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
437
+ * Whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
513
438
  *
514
439
  * Default value is ````false````.
515
440
  *
516
441
  * @type {Boolean}
517
442
  */
518
- set gammaInput(value: boolean);
443
+ gammaInput: boolean;
519
444
 
520
445
  /**
521
- * Gets whether or not {@link Scene} should expect all {@link Texture}s and colors to have pre-multiplied gamma.
446
+ * Whether or not to render pixels with pre-multiplied gama.
522
447
  *
523
448
  * Default value is ````false````.
524
449
  *
525
450
  * @type {Boolean}
526
451
  */
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);
452
+ gammaOutput: boolean;
555
453
 
556
454
  /**
557
- * Gets the gamma factor to use when {@link Scene.gammaOutput} is set true.
455
+ * The gamma factor to use when {@link Scene.gammaOutput} is set true.
558
456
  *
559
457
  * Default value is ````2.2````.
560
458
  *
561
459
  * @type {Number}
562
460
  */
563
- get gammaFactor(): number;
461
+ gammaFactor: number;
564
462
 
565
463
  /**
566
- * Gets the default {@link Geometry} for this Scene, which is a {@link ReadableGeometry} with a unit-sized box shape.
464
+ * The default {@link Geometry} for this Scene, which is a {@link ReadableGeometry} with a unit-sized box shape.
567
465
  *
568
466
  * Has {@link ReadableGeometry.id} set to "default.geometry".
569
467
  *
@@ -571,10 +469,10 @@ export declare class Scene extends Component {
571
469
  *
572
470
  * @type {ReadableGeometry}
573
471
  */
574
- get geometry(): ReadableGeometry;
472
+ readonly geometry: ReadableGeometry;
575
473
 
576
474
  /**
577
- * Gets the default {@link Material} for this Scene, which is a {@link PhongMaterial}.
475
+ * The default {@link Material} for this Scene, which is a {@link PhongMaterial}.
578
476
  *
579
477
  * Has {@link PhongMaterial.id} set to "default.material".
580
478
  *
@@ -582,10 +480,10 @@ export declare class Scene extends Component {
582
480
  *
583
481
  * @type {PhongMaterial}
584
482
  */
585
- get material(): PhongMaterial;
483
+ readonly material: PhongMaterial;
586
484
 
587
485
  /**
588
- * Gets the default xraying {@link EmphasisMaterial} for this Scene.
486
+ * The default xraying {@link EmphasisMaterial} for this Scene.
589
487
  *
590
488
  * Has {@link EmphasisMaterial.id} set to "default.xrayMaterial".
591
489
  *
@@ -595,10 +493,10 @@ export declare class Scene extends Component {
595
493
  *
596
494
  * @type {EmphasisMaterial}
597
495
  */
598
- get xrayMaterial(): EmphasisMaterial;
496
+ readonly xrayMaterial: EmphasisMaterial;
599
497
 
600
498
  /**
601
- * Gets the default highlight {@link EmphasisMaterial} for this Scene.
499
+ * The default highlight {@link EmphasisMaterial} for this Scene.
602
500
  *
603
501
  * Has {@link EmphasisMaterial.id} set to "default.highlightMaterial".
604
502
  *
@@ -608,10 +506,10 @@ export declare class Scene extends Component {
608
506
  *
609
507
  * @type {EmphasisMaterial}
610
508
  */
611
- get highlightMaterial(): EmphasisMaterial;
509
+ readonly highlightMaterial: EmphasisMaterial;
612
510
 
613
511
  /**
614
- * Gets the default selection {@link EmphasisMaterial} for this Scene.
512
+ * The default selection {@link EmphasisMaterial} for this Scene.
615
513
  *
616
514
  * Has {@link EmphasisMaterial.id} set to "default.selectedMaterial".
617
515
  *
@@ -621,10 +519,10 @@ export declare class Scene extends Component {
621
519
  *
622
520
  * @type {EmphasisMaterial}
623
521
  */
624
- get selectedMaterial(): EmphasisMaterial;
522
+ readonly selectedMaterial: EmphasisMaterial;
625
523
 
626
524
  /**
627
- * Gets the default {@link EdgeMaterial} for this Scene.
525
+ * The default {@link EdgeMaterial} for this Scene.
628
526
  *
629
527
  * Has {@link EdgeMaterial.id} set to "default.edgeMaterial".
630
528
  *
@@ -634,45 +532,45 @@ export declare class Scene extends Component {
634
532
  *
635
533
  * @type {EdgeMaterial}
636
534
  */
637
- get edgeMaterial(): EdgeMaterial;
535
+ readonly edgeMaterial: EdgeMaterial;
638
536
 
639
537
  /**
640
- * Gets the {@link PointsMaterial} for this Scene.
538
+ * The {@link PointsMaterial} for this Scene.
641
539
  *
642
540
  * @type {PointsMaterial}
643
541
  */
644
- get pointsMaterial(): PointsMaterial
542
+ readonly pointsMaterial: PointsMaterial;
645
543
 
646
544
  /**
647
- * Gets the {@link LinesMaterial} for this Scene.
545
+ * The {@link LinesMaterial} for this Scene.
648
546
  *
649
547
  * @type {LinesMaterial}
650
548
  */
651
- get linesMaterial(): LinesMaterial
549
+ readonly linesMaterial: LinesMaterial;
652
550
 
653
551
  /**
654
- * Gets the {@link Viewport} for this Scene.
552
+ * The {@link Viewport} for this Scene.
655
553
  *
656
554
  * @type Viewport
657
555
  */
658
- get viewport(): Viewport
556
+ readonly viewport: Viewport;
659
557
 
660
558
  /**
661
- * Gets the {@link Camera} for this Scene.
559
+ * The {@link Camera} for this Scene.
662
560
  *
663
561
  * @type {Camera}
664
562
  */
665
- get camera(): Camera;
563
+ readonly camera: Camera;
666
564
 
667
565
  /**
668
- * Gets the World-space 3D center of this Scene.
566
+ * The World-space 3D center of this Scene.
669
567
  *
670
568
  *@type {Number[]}
671
569
  */
672
- get center(): number[];
570
+ readonly center: number[];
673
571
 
674
572
  /**
675
- * Gets the World-space axis-aligned 3D boundary (AABB) of this Scene.
573
+ * The World-space axis-aligned 3D boundary (AABB) of this Scene.
676
574
  *
677
575
  * 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]````.
678
576
  *
@@ -680,11 +578,11 @@ export declare class Scene extends Component {
680
578
  *
681
579
  * @type {Number[]}
682
580
  */
683
- get aabb(): number[];
581
+ readonly aabb: number[];
684
582
 
685
- get sao(): SAO;
583
+ readonly sao: SAO;
686
584
 
687
- get input(): Input;
585
+ readonly input: Input;
688
586
 
689
587
  /**
690
588
  * Performs an occlusion test on all {@link Marker}s in this {@link Scene}.