@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
@@ -17,7 +17,7 @@ export declare abstract class SceneModelEntity implements Entity {
17
17
  * @type {number|string}
18
18
  * @abstract
19
19
  */
20
- get id(): string;
20
+ readonly id: string;
21
21
 
22
22
  /**
23
23
  * ID of the corresponding object within the originating system, if any.
@@ -29,14 +29,14 @@ export declare abstract class SceneModelEntity implements Entity {
29
29
  *
30
30
  * @type {string}
31
31
  */
32
- get originalSystemId(): string;
32
+ readonly originalSystemId: string;
33
33
 
34
34
  /**
35
35
  * Returns true to indicate that this is an SceneModelEntity.
36
36
  *
37
37
  * @returns {Boolean}
38
38
  */
39
- get isEntity(): boolean;
39
+ readonly isEntity: boolean;
40
40
 
41
41
  /**
42
42
  * Returns ````true```` if this SceneModelEntity represents a model.
@@ -47,7 +47,7 @@ export declare abstract class SceneModelEntity implements Entity {
47
47
  * @type {Boolean}
48
48
  * @abstract
49
49
  */
50
- get isModel(): boolean;
50
+ readonly isModel: boolean;
51
51
 
52
52
  /**
53
53
  * Returns ````true```` if this SceneModelEntity represents an object.
@@ -58,26 +58,18 @@ export declare abstract class SceneModelEntity implements Entity {
58
58
  * @type {Boolean}
59
59
  * @abstract
60
60
  */
61
- get isObject(): boolean;
61
+ readonly isObject: boolean;
62
62
 
63
63
  /** Returns the parent SceneModelEntity, if any. */
64
- get parent(): void;
64
+ readonly parent: void;
65
65
 
66
66
  /**
67
- * Sets the 3D World-space origin for this SceneModelEntity.
67
+ * The 3D World-space origin for this SceneModelEntity.
68
68
  *
69
69
  * @type {Float64Array}
70
70
  * @abstract
71
71
  */
72
- set origin(arg: Float64Array);
73
-
74
- /**
75
- * Gets the 3D World-space origin for this SceneModelEntity.
76
- *
77
- * @type {Float64Array}
78
- * @abstract
79
- */
80
- get origin(): Float64Array;
72
+ origin: Float64Array;
81
73
 
82
74
  /**
83
75
  * World-space 3D axis-aligned bounding box (AABB) of this SceneModelEntity.
@@ -88,12 +80,12 @@ export declare abstract class SceneModelEntity implements Entity {
88
80
  * @type {Float64Array}
89
81
  * @abstract
90
82
  */
91
- get aabb(): number[];
83
+ readonly aabb: number[];
92
84
 
93
85
  /**
94
86
  * The approximate number of primitives in this SceneModelEntity
95
87
  */
96
- get numPrimitives(): number;
88
+ readonly numPrimitives: number;
97
89
 
98
90
  /**
99
91
  * The approximate number of triangles in this SceneModelEntity.
@@ -101,10 +93,10 @@ export declare abstract class SceneModelEntity implements Entity {
101
93
  * @type {number}
102
94
  * @abstract
103
95
  */
104
- get numTriangles(): number;
96
+ readonly numTriangles: number;
105
97
 
106
98
  /**
107
- * Sets if this SceneModelEntity is visible.
99
+ * Whether this SceneModelEntity is visible.
108
100
  *
109
101
  * Only rendered when {@link SceneModelEntity.visible} is ````true```` and {@link SceneModelEntity.culled} is ````false````.
110
102
  *
@@ -114,23 +106,10 @@ export declare abstract class SceneModelEntity implements Entity {
114
106
  * @type {Boolean}
115
107
  * @abstract
116
108
  */
117
- set visible(arg: boolean);
109
+ visible: boolean;
118
110
 
119
111
  /**
120
- * Gets if this SceneModelEntity is visible.
121
- *
122
- * Only rendered when {@link SceneModelEntity.visible} is ````true```` and {@link SceneModelEntity.culled} is ````false````.
123
- *
124
- * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.visible} are both ````true```` the SceneModelEntity will be
125
- * registered by {@link SceneModelEntity.id} in {@link Scene.visibleObjects}.
126
- *
127
- * @type {Boolean}
128
- * @abstract
129
- */
130
- get visible(): boolean;
131
-
132
- /**
133
- * Sets if this SceneModelEntity is xrayed.
112
+ * Whether this SceneModelEntity is xrayed.
134
113
  *
135
114
  * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.xrayed} are both ````true``` the SceneModelEntity will be
136
115
  * registered by {@link SceneModelEntity.id} in {@link Scene.xrayedObjects}.
@@ -138,32 +117,10 @@ export declare abstract class SceneModelEntity implements Entity {
138
117
  * @type {Boolean}
139
118
  * @abstract
140
119
  */
141
- set xrayed(arg: boolean);
142
-
143
- /**
144
- * Gets if this SceneModelEntity is xrayed.
145
- *
146
- * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.xrayed} are both ````true``` the SceneModelEntity will be
147
- * registered by {@link SceneModelEntity.id} in {@link Scene.xrayedObjects}.
148
- *
149
- * @type {Boolean}
150
- * @abstract
151
- */
152
- get xrayed(): boolean;
153
-
154
- /**
155
- * Sets if this SceneModelEntity is highlighted.
156
- *
157
- * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.highlighted} are both ````true```` the SceneModelEntity will be
158
- * registered by {@link SceneModelEntity.id} in {@link Scene.highlightedObjects}.
159
- *
160
- * @type {Boolean}
161
- * @abstract
162
- */
163
- set highlighted(arg: boolean);
120
+ xrayed: boolean;
164
121
 
165
122
  /**
166
- * Gets if this SceneModelEntity is highlighted.
123
+ * Whether this SceneModelEntity is highlighted.
167
124
  *
168
125
  * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.highlighted} are both ````true```` the SceneModelEntity will be
169
126
  * registered by {@link SceneModelEntity.id} in {@link Scene.highlightedObjects}.
@@ -171,21 +128,10 @@ export declare abstract class SceneModelEntity implements Entity {
171
128
  * @type {Boolean}
172
129
  * @abstract
173
130
  */
174
- get highlighted(): boolean;
175
-
176
- /**
177
- * Sets if this SceneModelEntity is selected.
178
- *
179
- * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.selected} are both ````true``` the SceneModelEntity will be
180
- * registered by {@link SceneModelEntity.id} in {@link Scene.selectedObjects}.
181
- *
182
- * @type {Boolean}
183
- * @abstract
184
- */
185
- set selected(arg: boolean);
131
+ highlighted: boolean;
186
132
 
187
133
  /**
188
- * Gets if this SceneModelEntity is selected.
134
+ * Whether this SceneModelEntity is selected.
189
135
  *
190
136
  * When {@link SceneModelEntity.isObject} and {@link SceneModelEntity.selected} are both ````true``` the SceneModelEntity will be
191
137
  * registered by {@link SceneModelEntity.id} in {@link Scene.selectedObjects}.
@@ -193,218 +139,121 @@ export declare abstract class SceneModelEntity implements Entity {
193
139
  * @type {Boolean}
194
140
  * @abstract
195
141
  */
196
- get selected(): boolean;
142
+ selected: boolean;
197
143
 
198
144
  /**
199
- * Sets if this SceneModelEntity's edges are enhanced.
145
+ * Whether this SceneModelEntity's edges are enhanced.
200
146
  *
201
147
  * @type {Boolean}
202
148
  * @abstract
203
149
  */
204
- set edges(arg: boolean);
150
+ edges: boolean;
205
151
 
206
152
  /**
207
- * Gets if this SceneModelEntity's edges are enhanced.
208
- *
209
- * @type {Boolean}
210
- * @abstract
153
+ * Whether View Frustum Culling is enabled
211
154
  */
212
- get edges(): boolean;
155
+ culledVFC: boolean;
213
156
 
214
157
  /**
215
- * Toggle View Frustum Culling
216
- */
217
- set culledVFC(arg: boolean);
218
-
219
- /**
220
- * Gets View Frustum Culling
221
- */
222
- get culledVFC(): boolean;
223
-
224
- /**
225
- * Toggle Level of Detail Culling
226
- */
227
- set culledLOD(arg: boolean);
228
-
229
- /**
230
- * Gets level of detail culling
231
- */
232
- get culledLOD(): boolean;
233
-
234
- /**
235
- * Sets if this SceneModelEntity is culled.
236
- *
237
- * Only rendered when {@link SceneModelEntity.visible} is ````true```` and {@link SceneModelEntity.culled} is ````false````.
238
- *
239
- * @type {Boolean}
240
- * @abstract
158
+ * Whether Level of Detail Culling is enabled
241
159
  */
242
- set culled(arg: boolean);
160
+ culledLOD: boolean;
243
161
 
244
162
  /**
245
- * Gets if this SceneModelEntity is culled.
163
+ * Whether this SceneModelEntity is culled.
246
164
  *
247
165
  * Only rendered when {@link SceneModelEntity.visible} is ````true```` and {@link SceneModelEntity.culled} is ````false````.
248
166
  *
249
167
  * @type {Boolean}
250
168
  * @abstract
251
169
  */
252
- get culled(): boolean;
253
-
254
- /**
255
- * Sets if this SceneModelEntity is clippable.
256
- *
257
- * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
258
- *
259
- * @type {Boolean}
260
- * @abstract
261
- */
262
- set clippable(arg: boolean);
170
+ culled: boolean;
263
171
 
264
172
  /**
265
- * Gets if this SceneModelEntity is clippable.
173
+ * Whether this SceneModelEntity is clippable.
266
174
  *
267
175
  * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
268
176
  *
269
177
  * @type {Boolean}
270
178
  * @abstract
271
179
  */
272
- get clippable(): boolean;
273
-
274
- /**
275
- * Sets if this SceneModelEntity is included in boundary calculations.
276
- *
277
- * @type {Boolean}
278
- * @abstract
279
- */
280
- set collidable(arg: boolean);
180
+ clippable: boolean;
281
181
 
282
182
  /**
283
- * Gets if this SceneModelEntity is included in boundary calculations.
183
+ * Whether this SceneModelEntity is included in boundary calculations.
284
184
  *
285
185
  * @type {Boolean}
286
186
  * @abstract
287
187
  */
288
- get collidable(): boolean;
188
+ collidable: boolean;
289
189
 
290
190
  /**
291
- * Sets if this SceneModelEntity is pickable.
191
+ * Whether this SceneModelEntity is pickable.
292
192
  *
293
193
  * Picking is done via calls to {@link Scene.pick}.
294
194
  *
295
195
  * @type {Boolean}
296
196
  * @abstract
297
197
  */
298
- set pickable(arg: boolean);
299
-
300
- /**
301
- * Gets if this SceneModelEntity is pickable.
302
- *
303
- * Picking is done via calls to {@link Scene.pick}.
304
- *
305
- * @type {Boolean}
306
- * @abstract
307
- */
308
- get pickable(): boolean;
309
-
310
- /**
311
- * Sets the SceneModelEntity's RGB colorize color, multiplies by the SceneModelEntity's rendered fragment colors.
312
- *
313
- * Each element of the color is in range ````[0..1]````.
314
- *
315
- * @type {number[]}
316
- * @abstract
317
- */
318
- set colorize(arg: number[]);
198
+ pickable: boolean;
319
199
 
320
200
  /**
321
- * Gets the SceneModelEntity's RGB colorize color, multiplies by the SceneModelEntity's rendered fragment colors.
201
+ * The SceneModelEntity's RGB colorize color, multiplies by the SceneModelEntity's rendered fragment colors.
322
202
  *
323
203
  * Each element of the color is in range ````[0..1]````.
324
204
  *
325
205
  * @type {number[]}
326
206
  * @abstract
327
207
  */
328
- get colorize(): number[];
208
+ colorize: number[];
329
209
 
330
210
  /**
331
- * Sets the SceneModelEntity's opacity factor, multiplies by the SceneModelEntity's rendered fragment alphas.
211
+ * The SceneModelEntity's opacity factor, multiplies by the SceneModelEntity's rendered fragment alphas.
332
212
  *
333
213
  * This is a factor in range ````[0..1]````.
334
214
  *
335
215
  * @type {number}
336
216
  * @abstract
337
217
  */
338
- set opacity(arg: number);
339
-
340
- /**
341
- * Gets the SceneModelEntity's opacity factor.
342
- *
343
- * This is a factor in range ````[0..1]```` which multiplies by the rendered fragment alphas.
344
- *
345
- * @type {number}
346
- * @abstract
347
- */
348
- get opacity(): number;
218
+ opacity: number;
349
219
 
350
220
  /**
351
- * Sets if this SceneModelEntity casts shadows.
221
+ * Whether this SceneModelEntity casts shadows.
352
222
  *
353
223
  * @type {Boolean}
354
224
  * @abstract
355
225
  */
356
- set castsShadow(arg: boolean);
226
+ castsShadow: boolean;
357
227
 
358
228
  /**
359
- * Gets if this SceneModelEntity casts shadows.
229
+ * Whether this SceneModelEntity can have shadows cast upon it
360
230
  *
361
231
  * @type {Boolean}
362
232
  * @abstract
363
233
  */
364
- get castsShadow(): boolean;
234
+ receivesShadow: boolean;
365
235
 
366
236
  /**
367
- * Sets if to this SceneModelEntity can have shadows cast upon it
368
- *
369
- * @type {Boolean}
370
- * @abstract
371
- */
372
- set receivesShadow(arg: boolean);
373
-
374
- /**
375
- * Gets if this SceneModelEntity can have shadows cast upon it
376
- *
377
- * @type {Boolean}
378
- * @abstract
379
- */
380
- get receivesShadow(): boolean;
381
-
382
- /**
383
- * Gets if this SceneModelEntity can have Scalable Ambient Obscurance (SAO) applied to it.
237
+ * Whether this SceneModelEntity can have Scalable Ambient Obscurance (SAO) applied to it.
384
238
  *
385
239
  * SAO is configured by {@link SAO}.
386
240
  *
387
241
  * @type {Boolean}
388
242
  * @abstract
389
243
  */
390
- get saoEnabled(): boolean;
244
+ readonly saoEnabled: boolean;
391
245
 
392
246
  /**
393
- * Sets the material for this SceneModelEntity that will be used on the caps
247
+ * The material for this SceneModelEntity that will be used on the caps
394
248
  * when the objects of this entity are sliced
395
249
  *
396
250
  * If there is no capMaterial attached to a SceneModelEntity then its objects
397
251
  * will not be capped when sliced
398
252
  */
399
- set capMaterial(value: Material);
253
+ capMaterial: Material;
400
254
 
401
255
  /**
402
- * Gets the cap material attached to this SceneModelEntity
403
- */
404
- get capMaterial(): Material;
405
-
406
- /**
407
- * Sets the SceneModelEntity's 3D World-space offset.
256
+ * The SceneModelEntity's 3D World-space offset.
408
257
  *
409
258
  * Since offsetting Entities comes with memory and rendering overhead on some systems, this feature
410
259
  * only works when {@link Viewer} is configured with ````entityOffsetsEnabled: true````.
@@ -419,17 +268,7 @@ export declare abstract class SceneModelEntity implements Entity {
419
268
  * @abstract
420
269
  * @type {number[]}
421
270
  */
422
- set offset(arg: number[]);
423
-
424
- /**
425
- * Gets the SceneModelEntity's 3D World-space offset.
426
- *
427
- * Default value is ````[0,0,0]````.
428
- *
429
- * @abstract
430
- * @type {number[]}
431
- */
432
- get offset(): number[];
271
+ offset: number[];
433
272
 
434
273
  /**
435
274
  * Gets the World, View and Canvas-space positions of each vertex in a callback.
@@ -456,17 +295,17 @@ export declare abstract class SceneModelEntity implements Entity {
456
295
  *
457
296
  * @returns {number}
458
297
  */
459
- get volume(): number;
298
+ readonly volume: number;
460
299
 
461
300
  /**
462
- * Returns the surface area of this SceneModelEntity.
301
+ * The surface area of this SceneModelEntity.
463
302
  *
464
303
  * Only works when {@link Scene.readableGeometryEnabled | Scene.readableGeometryEnabled} is `true` and the
465
304
  * SceneModelEntity contains triangle meshes; returns `0` otherwise.
466
305
  *
467
306
  * @returns {number}
468
307
  */
469
- get surfaceArea(): number;
308
+ readonly surfaceArea: number;
470
309
 
471
310
  /**
472
311
  * The {@link SceneModel} to which this SceneModelEntity belongs.
@@ -73,15 +73,15 @@ export declare class SceneModelMesh {
73
73
  isSolid(): boolean;
74
74
 
75
75
  /**
76
- * Returns the volume of this SceneModelMesh.
76
+ * The volume of this SceneModelMesh.
77
77
  * @returns {number}
78
78
  */
79
- get volume(): number;
79
+ readonly volume: number;
80
80
 
81
81
  /**
82
- * Returns the surface area of this SceneModelMesh.
82
+ * The surface area of this SceneModelMesh.
83
83
  * @returns {number}
84
84
  */
85
- get surfaceArea(): number;
85
+ readonly surfaceArea: number;
86
86
 
87
87
  }
@@ -23,112 +23,67 @@ export declare class SceneModelTransform {
23
23
  *
24
24
  * @type {SceneModelTransform}
25
25
  */
26
- get parentTransform(): SceneModelTransform | null;
26
+ readonly parentTransform: SceneModelTransform | null;
27
27
 
28
28
  /**
29
29
  * The {@link SceneModelMesh}es transformed by this SceneModelTransform.
30
30
  *
31
31
  * @returns {[]}
32
32
  */
33
- get meshes(): SceneModelMesh[];
33
+ readonly meshes: SceneModelMesh[];
34
34
 
35
35
  /**
36
- * Sets the SceneModelTransform's local translation.
36
+ * The SceneModelTransform's local translation.
37
37
  *
38
38
  * Default value is ````[0,0,0]````.
39
39
  *
40
40
  * @type {number[]}
41
41
  */
42
- set position(value: number[]);
42
+ position: number[];
43
43
 
44
44
  /**
45
- * Gets the SceneModelTransform's translation.
45
+ * The SceneModelTransform's rotation, as Euler angles given in degrees, for each of the X, Y and Z axis.
46
46
  *
47
47
  * Default value is ````[0,0,0]````.
48
48
  *
49
49
  * @type {number[]}
50
50
  */
51
- get position(): number[];
51
+ rotation: number[];
52
52
 
53
53
  /**
54
- * Sets the SceneModelTransform's rotation, as Euler angles given in degrees, for each of the X, Y and Z axis.
55
- *
56
- * Default value is ````[0,0,0]````.
57
- *
58
- * @type {number[]}
59
- */
60
- set rotation(value: number[]);
61
-
62
- /**
63
- * Gets the SceneModelTransform's rotation, as Euler angles given in degrees, for each of the X, Y and Z axis.
64
- *
65
- * Default value is ````[0,0,0]````.
66
- *
67
- * @type {number[]}
68
- */
69
- get rotation(): number[];
70
-
71
- /**
72
- * Sets the SceneModelTransform's rotation quaternion.
54
+ * The SceneModelTransform's rotation quaternion.
73
55
  *
74
56
  * Default value is ````[0,0,0,1]````.
75
57
  *
76
58
  * @type {number[]}
77
59
  */
78
- set quaternion(value: number[]);
60
+ quaternion: number[];
79
61
 
80
62
  /**
81
- * Gets the SceneModelTransform's rotation quaternion.
82
- *
83
- * Default value is ````[0,0,0,1]````.
84
- *
85
- * @type {number[]}
86
- */
87
- get quaternion(): number[];
88
-
89
- /**
90
- * Sets the SceneModelTransform's scale.
63
+ * The SceneModelTransform's scale.
91
64
  *
92
65
  * Default value is ````[1,1,1]````.
93
66
  *
94
67
  * @type {number[]}
95
68
  */
96
- set scale(value: number[]);
97
-
98
- /**
99
- * Gets the SceneModelTransform's scale.
100
- *
101
- * Default value is ````[1,1,1]````.
102
- *
103
- * @type {number[]}
104
- */
105
- get scale(): number[];
106
-
107
- /**
108
- * Sets the SceneModelTransform's transform matrix.
109
- *
110
- * Default value is ````[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]````.
111
- *
112
- * @type {number[]}
113
- */
114
- set matrix(value: number[]);
69
+ scale: number[];
115
70
 
116
71
  /**
117
- * Gets the SceneModelTransform's transform matrix.
72
+ * The SceneModelTransform's transform matrix.
118
73
  *
119
74
  * Default value is ````[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]````.
120
75
  *
121
76
  * @type {number[]}
122
77
  */
123
- get matrix(): number[];
78
+ matrix: number[];
124
79
 
125
80
  /**
126
- * Gets the SceneModelTransform's World matrix.
81
+ * The SceneModelTransform's World matrix.
127
82
  *
128
83
  * @property worldMatrix
129
84
  * @type {number[]}
130
85
  */
131
- get worldMatrix(): number[];
86
+ readonly worldMatrix: number[];
132
87
 
133
88
  /**
134
89
  * Rotates the SceneModelTransform about the given axis by the given increment.