@xtctwins/tctwins-core 1.0.29 → 1.0.31

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.
@@ -6,396 +6,396 @@
6
6
  */
7
7
 
8
8
  export declare abstract class Entity {
9
- /**
10
- * Component ID, unique within the {@link Scene}.
11
- *
12
- * @type {Number|String}
13
- * @abstract
14
- */
15
- get id(): string | number;
16
-
17
- /**
18
- * ID of the corresponding object within the originating system, if any.
19
- *
20
- * By default, this has the same value as {@link Entity.id}. When we load a model using {@link XKTLoaderPlugin.load},
21
- * with {@link XKTLoaderPlugin.globalizeObjectIds} set ````true````, then that plugin will prefix {@link Entity.id}
22
- * with the model ID, while leaving this property holding the original value of {@link Entity.id}. When loading an
23
- * IFC model, this property will hold the IFC product ID of the corresponding IFC element.
24
- *
25
- * @type {String}
26
- */
27
- get originalSystemId(): string;
28
-
29
- /**
30
- * Returns true to indicate that this is an Entity.
31
- *
32
- * @returns {Boolean}
33
- */
34
- get isEntity(): boolean;
35
-
36
- /**
37
- * Returns ````true```` if this Entity represents a model.
38
- *
39
- * When this is ````true````, the Entity will be registered by {@link Entity.id} in {@link Scene.models} and
40
- * may also have a corresponding {@link MetaModel}.
41
- *
42
- * @type {Boolean}
43
- * @abstract
44
- */
45
- get isModel(): boolean;
46
-
47
- /**
48
- * Returns ````true```` if this Entity represents an object.
49
- *
50
- * When this is ````true````, the Entity will be registered by {@link Entity.id} in {@link Scene.objects} and
51
- * may also have a corresponding {@link MetaObject}.
52
- *
53
- * @type {Boolean}
54
- * @abstract
55
- */
56
- get isObject(): boolean;
57
-
58
- /** Returns the parent Entity, if any. */
59
- get parent(): void;
60
-
61
- /**
62
- * Sets the 3D World-space origin for this Entity.
63
- *
64
- * @type {Float64Array}
65
- * @abstract
66
- */
67
- set origin(arg: Float64Array);
68
-
69
- /**
70
- * Gets the 3D World-space origin for this Entity.
71
- *
72
- * @type {Float64Array}
73
- * @abstract
74
- */
75
- get origin(): Float64Array;
76
-
77
- /**
78
- * World-space 3D axis-aligned bounding box (AABB) of this Entity.
79
- *
80
- * Represented by a six-element Float64Array containing the min/max extents of the
81
- * axis-aligned volume, ie. ````[xmin, ymin,zmin,xmax,ymax, zmax]````.
82
- *
83
- * @type {Float64Array}
84
- * @abstract
85
- */
86
- get aabb(): number[];
87
-
88
- /**
89
- * The approximate number of triangles in this Entity.
90
- *
91
- * @type {Number}
92
- * @abstract
93
- */
94
- get numTriangles(): number;
95
-
96
- /**
97
- * Sets if this Entity is visible.
98
- *
99
- * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
100
- *
101
- * When {@link Entity.isObject} and {@link Entity.visible} are both ````true```` the Entity will be
102
- * registered by {@link Entity.id} in {@link Scene.visibleObjects}.
103
- *
104
- * @type {Boolean}
105
- * @abstract
106
- */
107
- set visible(arg: boolean);
108
-
109
- /**
110
- * Gets if this Entity is visible.
111
- *
112
- * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
113
- *
114
- * When {@link Entity.isObject} and {@link Entity.visible} are both ````true```` the Entity will be
115
- * registered by {@link Entity.id} in {@link Scene.visibleObjects}.
116
- *
117
- * @type {Boolean}
118
- * @abstract
119
- */
120
- get visible(): boolean;
121
-
122
- /**
123
- * Sets if this Entity is xrayed.
124
- *
125
- * When {@link Entity.isObject} and {@link Entity.xrayed} are both ````true``` the Entity will be
126
- * registered by {@link Entity.id} in {@link Scene.xrayedObjects}.
127
- *
128
- * @type {Boolean}
129
- * @abstract
130
- */
131
- set xrayed(arg: boolean);
132
-
133
- /**
134
- * Gets if this Entity is xrayed.
135
- *
136
- * When {@link Entity.isObject} and {@link Entity.xrayed} are both ````true``` the Entity will be
137
- * registered by {@link Entity.id} in {@link Scene.xrayedObjects}.
138
- *
139
- * @type {Boolean}
140
- * @abstract
141
- */
142
- get xrayed(): boolean;
143
-
144
- /**
145
- * Sets if this Entity is highlighted.
146
- *
147
- * When {@link Entity.isObject} and {@link Entity.highlighted} are both ````true```` the Entity will be
148
- * registered by {@link Entity.id} in {@link Scene.highlightedObjects}.
149
- *
150
- * @type {Boolean}
151
- * @abstract
152
- */
153
- set highlighted(arg: boolean);
154
-
155
- /**
156
- * Gets if this Entity is highlighted.
157
- *
158
- * When {@link Entity.isObject} and {@link Entity.highlighted} are both ````true```` the Entity will be
159
- * registered by {@link Entity.id} in {@link Scene.highlightedObjects}.
160
- *
161
- * @type {Boolean}
162
- * @abstract
163
- */
164
- get highlighted(): boolean;
165
-
166
- /**
167
- * Sets if this Entity is selected.
168
- *
169
- * When {@link Entity.isObject} and {@link Entity.selected} are both ````true``` the Entity will be
170
- * registered by {@link Entity.id} in {@link Scene.selectedObjects}.
171
- *
172
- * @type {Boolean}
173
- * @abstract
174
- */
175
- set selected(arg: boolean);
176
-
177
- /**
178
- * Gets if this Entity is selected.
179
- *
180
- * When {@link Entity.isObject} and {@link Entity.selected} are both ````true``` the Entity will be
181
- * registered by {@link Entity.id} in {@link Scene.selectedObjects}.
182
- *
183
- * @type {Boolean}
184
- * @abstract
185
- */
186
- get selected(): boolean;
187
-
188
- /**
189
- * Sets if this Entity's edges are enhanced.
190
- *
191
- * @type {Boolean}
192
- * @abstract
193
- */
194
- set edges(arg: boolean);
195
-
196
- /**
197
- * Gets if this Entity's edges are enhanced.
198
- *
199
- * @type {Boolean}
200
- * @abstract
201
- */
202
- get edges(): boolean;
203
-
204
- /**
205
- * Sets if this Entity is culled.
206
- *
207
- * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
208
- *
209
- * @type {Boolean}
210
- * @abstract
211
- */
212
- set culled(arg: boolean);
213
-
214
- /**
215
- * Gets if this Entity is culled.
216
- *
217
- * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
218
- *
219
- * @type {Boolean}
220
- * @abstract
221
- */
222
- get culled(): boolean;
223
-
224
- /**
225
- * Sets if this Entity is clippable.
226
- *
227
- * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
228
- *
229
- * @type {Boolean}
230
- * @abstract
231
- */
232
- set clippable(arg: boolean);
233
-
234
- /**
235
- * Gets if this Entity is clippable.
236
- *
237
- * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
238
- *
239
- * @type {Boolean}
240
- * @abstract
241
- */
242
- get clippable(): boolean;
243
-
244
- /**
245
- * Sets if this Entity is included in boundary calculations.
246
- *
247
- * @type {Boolean}
248
- * @abstract
249
- */
250
- set collidable(arg: boolean);
251
-
252
- /**
253
- * Gets if this Entity is included in boundary calculations.
254
- *
255
- * @type {Boolean}
256
- * @abstract
257
- */
258
- get collidable(): boolean;
259
-
260
- /**
261
- * Sets if this Entity is pickable.
262
- *
263
- * Picking is done via calls to {@link Scene.pick}.
264
- *
265
- * @type {Boolean}
266
- * @abstract
267
- */
268
- set pickable(arg: boolean);
269
-
270
- /**
271
- * Gets if this Entity is pickable.
272
- *
273
- * Picking is done via calls to {@link Scene.pick}.
274
- *
275
- * @type {Boolean}
276
- * @abstract
277
- */
278
- get pickable(): boolean;
279
-
280
- /**
281
- * Sets the Entity's RGB colorize color, multiplies by the Entity's rendered fragment colors.
282
- *
283
- * Each element of the color is in range ````[0..1]````.
284
- *
285
- * @type {Number[]}
286
- * @abstract
287
- */
288
- set colorize(arg: number[]);
289
-
290
- /**
291
- * Gets the Entity's RGB colorize color, multiplies by the Entity's rendered fragment colors.
292
- *
293
- * Each element of the color is in range ````[0..1]````.
294
- *
295
- * @type {Number[]}
296
- * @abstract
297
- */
298
- get colorize(): number[];
299
-
300
- /**
301
- * Sets the Entity's opacity factor, multiplies by the Entity's rendered fragment alphas.
302
- *
303
- * This is a factor in range ````[0..1]````.
304
- *
305
- * @type {Number}
306
- * @abstract
307
- */
308
- set opacity(arg: number);
309
-
310
- /**
311
- * Gets the Entity's opacity factor.
312
- *
313
- * This is a factor in range ````[0..1]```` which multiplies by the rendered fragment alphas.
314
- *
315
- * @type {Number}
316
- * @abstract
317
- */
318
- get opacity(): number;
319
-
320
- /**
321
- * Sets if this Entity casts shadows.
322
- *
323
- * @type {Boolean}
324
- * @abstract
325
- */
326
- set castsShadow(arg: boolean);
327
-
328
- /**
329
- * Gets if this Entity casts shadows.
330
- *
331
- * @type {Boolean}
332
- * @abstract
333
- */
334
- get castsShadow(): boolean;
335
-
336
- /**
337
- * Sets if to this Entity can have shadows cast upon it
338
- *
339
- * @type {Boolean}
340
- * @abstract
341
- */
342
- set receivesShadow(arg: boolean);
343
-
344
- /**
345
- * Gets if this Entity can have shadows cast upon it
346
- *
347
- * @type {Boolean}
348
- * @abstract
349
- */
350
- get receivesShadow(): boolean;
351
-
352
- /**
353
- * Gets if this Entity can have Scalable Ambient Obscurance (SAO) applied to it.
354
- *
355
- * SAO is configured by {@link SAO}.
356
- *
357
- * @type {Boolean}
358
- * @abstract
359
- */
360
- get saoEnabled(): boolean;
361
-
362
- /**
363
- * Sets the Entity's 3D World-space offset.
364
- *
365
- * Since offsetting Entities comes with memory and rendering overhead on some systems, this feature
366
- * only works when {@link Viewer} is configured with ````entityOffsetsEnabled: true````.
367
- *
368
- * The offset dynamically translates the Entity in World-space, which is useful for creating
369
- * effects like exploding parts assemblies etc.
370
- *
371
- * Default value is ````[0,0,0]````.
372
- *
373
- * Provide a null or undefined value to reset to the default value.
374
- *
375
- * @abstract
376
- * @type {Number[]}
377
- */
378
- set offset(arg: number[]);
379
-
380
- /**
381
- * Gets the Entity's 3D World-space offset.
382
- *
383
- * Default value is ````[0,0,0]````.
384
- *
385
- * @abstract
386
- * @type {Number[]}
387
- */
388
- get offset(): number[];
389
-
390
- /**
391
- * Gets the World, View and Canvas-space positions of each vertex in a callback.
392
- *
393
- * @param callback
394
- */
395
- getEachVertex(callback: any): void;
396
-
397
- /**
398
- * Destroys this Entity.
399
- */
400
- destroy(): void;
9
+ /**
10
+ * Component ID, unique within the {@link Scene}.
11
+ *
12
+ * @type {Number|String}
13
+ * @abstract
14
+ */
15
+ get id(): string | number;
16
+
17
+ /**
18
+ * ID of the corresponding object within the originating system, if any.
19
+ *
20
+ * By default, this has the same value as {@link Entity.id}. When we load a model using {@link XTCLoaderPlugin.load},
21
+ * with {@link XTCLoaderPlugin.globalizeObjectIds} set ````true````, then that plugin will prefix {@link Entity.id}
22
+ * with the model ID, while leaving this property holding the original value of {@link Entity.id}. When loading an
23
+ * IFC model, this property will hold the IFC product ID of the corresponding IFC element.
24
+ *
25
+ * @type {String}
26
+ */
27
+ get originalSystemId(): string;
28
+
29
+ /**
30
+ * Returns true to indicate that this is an Entity.
31
+ *
32
+ * @returns {Boolean}
33
+ */
34
+ get isEntity(): boolean;
35
+
36
+ /**
37
+ * Returns ````true```` if this Entity represents a model.
38
+ *
39
+ * When this is ````true````, the Entity will be registered by {@link Entity.id} in {@link Scene.models} and
40
+ * may also have a corresponding {@link MetaModel}.
41
+ *
42
+ * @type {Boolean}
43
+ * @abstract
44
+ */
45
+ get isModel(): boolean;
46
+
47
+ /**
48
+ * Returns ````true```` if this Entity represents an object.
49
+ *
50
+ * When this is ````true````, the Entity will be registered by {@link Entity.id} in {@link Scene.objects} and
51
+ * may also have a corresponding {@link MetaObject}.
52
+ *
53
+ * @type {Boolean}
54
+ * @abstract
55
+ */
56
+ get isObject(): boolean;
57
+
58
+ /** Returns the parent Entity, if any. */
59
+ get parent(): void;
60
+
61
+ /**
62
+ * Sets the 3D World-space origin for this Entity.
63
+ *
64
+ * @type {Float64Array}
65
+ * @abstract
66
+ */
67
+ set origin(arg: Float64Array);
68
+
69
+ /**
70
+ * Gets the 3D World-space origin for this Entity.
71
+ *
72
+ * @type {Float64Array}
73
+ * @abstract
74
+ */
75
+ get origin(): Float64Array;
76
+
77
+ /**
78
+ * World-space 3D axis-aligned bounding box (AABB) of this Entity.
79
+ *
80
+ * Represented by a six-element Float64Array containing the min/max extents of the
81
+ * axis-aligned volume, ie. ````[xmin, ymin,zmin,xmax,ymax, zmax]````.
82
+ *
83
+ * @type {Float64Array}
84
+ * @abstract
85
+ */
86
+ get aabb(): number[];
87
+
88
+ /**
89
+ * The approximate number of triangles in this Entity.
90
+ *
91
+ * @type {Number}
92
+ * @abstract
93
+ */
94
+ get numTriangles(): number;
95
+
96
+ /**
97
+ * Sets if this Entity is visible.
98
+ *
99
+ * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
100
+ *
101
+ * When {@link Entity.isObject} and {@link Entity.visible} are both ````true```` the Entity will be
102
+ * registered by {@link Entity.id} in {@link Scene.visibleObjects}.
103
+ *
104
+ * @type {Boolean}
105
+ * @abstract
106
+ */
107
+ set visible(arg: boolean);
108
+
109
+ /**
110
+ * Gets if this Entity is visible.
111
+ *
112
+ * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
113
+ *
114
+ * When {@link Entity.isObject} and {@link Entity.visible} are both ````true```` the Entity will be
115
+ * registered by {@link Entity.id} in {@link Scene.visibleObjects}.
116
+ *
117
+ * @type {Boolean}
118
+ * @abstract
119
+ */
120
+ get visible(): boolean;
121
+
122
+ /**
123
+ * Sets if this Entity is xrayed.
124
+ *
125
+ * When {@link Entity.isObject} and {@link Entity.xrayed} are both ````true``` the Entity will be
126
+ * registered by {@link Entity.id} in {@link Scene.xrayedObjects}.
127
+ *
128
+ * @type {Boolean}
129
+ * @abstract
130
+ */
131
+ set xrayed(arg: boolean);
132
+
133
+ /**
134
+ * Gets if this Entity is xrayed.
135
+ *
136
+ * When {@link Entity.isObject} and {@link Entity.xrayed} are both ````true``` the Entity will be
137
+ * registered by {@link Entity.id} in {@link Scene.xrayedObjects}.
138
+ *
139
+ * @type {Boolean}
140
+ * @abstract
141
+ */
142
+ get xrayed(): boolean;
143
+
144
+ /**
145
+ * Sets if this Entity is highlighted.
146
+ *
147
+ * When {@link Entity.isObject} and {@link Entity.highlighted} are both ````true```` the Entity will be
148
+ * registered by {@link Entity.id} in {@link Scene.highlightedObjects}.
149
+ *
150
+ * @type {Boolean}
151
+ * @abstract
152
+ */
153
+ set highlighted(arg: boolean);
154
+
155
+ /**
156
+ * Gets if this Entity is highlighted.
157
+ *
158
+ * When {@link Entity.isObject} and {@link Entity.highlighted} are both ````true```` the Entity will be
159
+ * registered by {@link Entity.id} in {@link Scene.highlightedObjects}.
160
+ *
161
+ * @type {Boolean}
162
+ * @abstract
163
+ */
164
+ get highlighted(): boolean;
165
+
166
+ /**
167
+ * Sets if this Entity is selected.
168
+ *
169
+ * When {@link Entity.isObject} and {@link Entity.selected} are both ````true``` the Entity will be
170
+ * registered by {@link Entity.id} in {@link Scene.selectedObjects}.
171
+ *
172
+ * @type {Boolean}
173
+ * @abstract
174
+ */
175
+ set selected(arg: boolean);
176
+
177
+ /**
178
+ * Gets if this Entity is selected.
179
+ *
180
+ * When {@link Entity.isObject} and {@link Entity.selected} are both ````true``` the Entity will be
181
+ * registered by {@link Entity.id} in {@link Scene.selectedObjects}.
182
+ *
183
+ * @type {Boolean}
184
+ * @abstract
185
+ */
186
+ get selected(): boolean;
187
+
188
+ /**
189
+ * Sets if this Entity's edges are enhanced.
190
+ *
191
+ * @type {Boolean}
192
+ * @abstract
193
+ */
194
+ set edges(arg: boolean);
195
+
196
+ /**
197
+ * Gets if this Entity's edges are enhanced.
198
+ *
199
+ * @type {Boolean}
200
+ * @abstract
201
+ */
202
+ get edges(): boolean;
203
+
204
+ /**
205
+ * Sets if this Entity is culled.
206
+ *
207
+ * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
208
+ *
209
+ * @type {Boolean}
210
+ * @abstract
211
+ */
212
+ set culled(arg: boolean);
213
+
214
+ /**
215
+ * Gets if this Entity is culled.
216
+ *
217
+ * Only rendered when {@link Entity.visible} is ````true```` and {@link Entity.culled} is ````false````.
218
+ *
219
+ * @type {Boolean}
220
+ * @abstract
221
+ */
222
+ get culled(): boolean;
223
+
224
+ /**
225
+ * Sets if this Entity is clippable.
226
+ *
227
+ * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
228
+ *
229
+ * @type {Boolean}
230
+ * @abstract
231
+ */
232
+ set clippable(arg: boolean);
233
+
234
+ /**
235
+ * Gets if this Entity is clippable.
236
+ *
237
+ * Clipping is done by the {@link SectionPlane}s in {@link Scene.sectionPlanes}.
238
+ *
239
+ * @type {Boolean}
240
+ * @abstract
241
+ */
242
+ get clippable(): boolean;
243
+
244
+ /**
245
+ * Sets if this Entity is included in boundary calculations.
246
+ *
247
+ * @type {Boolean}
248
+ * @abstract
249
+ */
250
+ set collidable(arg: boolean);
251
+
252
+ /**
253
+ * Gets if this Entity is included in boundary calculations.
254
+ *
255
+ * @type {Boolean}
256
+ * @abstract
257
+ */
258
+ get collidable(): boolean;
259
+
260
+ /**
261
+ * Sets if this Entity is pickable.
262
+ *
263
+ * Picking is done via calls to {@link Scene.pick}.
264
+ *
265
+ * @type {Boolean}
266
+ * @abstract
267
+ */
268
+ set pickable(arg: boolean);
269
+
270
+ /**
271
+ * Gets if this Entity is pickable.
272
+ *
273
+ * Picking is done via calls to {@link Scene.pick}.
274
+ *
275
+ * @type {Boolean}
276
+ * @abstract
277
+ */
278
+ get pickable(): boolean;
279
+
280
+ /**
281
+ * Sets the Entity's RGB colorize color, multiplies by the Entity's rendered fragment colors.
282
+ *
283
+ * Each element of the color is in range ````[0..1]````.
284
+ *
285
+ * @type {Number[]}
286
+ * @abstract
287
+ */
288
+ set colorize(arg: number[]);
289
+
290
+ /**
291
+ * Gets the Entity's RGB colorize color, multiplies by the Entity's rendered fragment colors.
292
+ *
293
+ * Each element of the color is in range ````[0..1]````.
294
+ *
295
+ * @type {Number[]}
296
+ * @abstract
297
+ */
298
+ get colorize(): number[];
299
+
300
+ /**
301
+ * Sets the Entity's opacity factor, multiplies by the Entity's rendered fragment alphas.
302
+ *
303
+ * This is a factor in range ````[0..1]````.
304
+ *
305
+ * @type {Number}
306
+ * @abstract
307
+ */
308
+ set opacity(arg: number);
309
+
310
+ /**
311
+ * Gets the Entity's opacity factor.
312
+ *
313
+ * This is a factor in range ````[0..1]```` which multiplies by the rendered fragment alphas.
314
+ *
315
+ * @type {Number}
316
+ * @abstract
317
+ */
318
+ get opacity(): number;
319
+
320
+ /**
321
+ * Sets if this Entity casts shadows.
322
+ *
323
+ * @type {Boolean}
324
+ * @abstract
325
+ */
326
+ set castsShadow(arg: boolean);
327
+
328
+ /**
329
+ * Gets if this Entity casts shadows.
330
+ *
331
+ * @type {Boolean}
332
+ * @abstract
333
+ */
334
+ get castsShadow(): boolean;
335
+
336
+ /**
337
+ * Sets if to this Entity can have shadows cast upon it
338
+ *
339
+ * @type {Boolean}
340
+ * @abstract
341
+ */
342
+ set receivesShadow(arg: boolean);
343
+
344
+ /**
345
+ * Gets if this Entity can have shadows cast upon it
346
+ *
347
+ * @type {Boolean}
348
+ * @abstract
349
+ */
350
+ get receivesShadow(): boolean;
351
+
352
+ /**
353
+ * Gets if this Entity can have Scalable Ambient Obscurance (SAO) applied to it.
354
+ *
355
+ * SAO is configured by {@link SAO}.
356
+ *
357
+ * @type {Boolean}
358
+ * @abstract
359
+ */
360
+ get saoEnabled(): boolean;
361
+
362
+ /**
363
+ * Sets the Entity's 3D World-space offset.
364
+ *
365
+ * Since offsetting Entities comes with memory and rendering overhead on some systems, this feature
366
+ * only works when {@link Viewer} is configured with ````entityOffsetsEnabled: true````.
367
+ *
368
+ * The offset dynamically translates the Entity in World-space, which is useful for creating
369
+ * effects like exploding parts assemblies etc.
370
+ *
371
+ * Default value is ````[0,0,0]````.
372
+ *
373
+ * Provide a null or undefined value to reset to the default value.
374
+ *
375
+ * @abstract
376
+ * @type {Number[]}
377
+ */
378
+ set offset(arg: number[]);
379
+
380
+ /**
381
+ * Gets the Entity's 3D World-space offset.
382
+ *
383
+ * Default value is ````[0,0,0]````.
384
+ *
385
+ * @abstract
386
+ * @type {Number[]}
387
+ */
388
+ get offset(): number[];
389
+
390
+ /**
391
+ * Gets the World, View and Canvas-space positions of each vertex in a callback.
392
+ *
393
+ * @param callback
394
+ */
395
+ getEachVertex(callback: any): void;
396
+
397
+ /**
398
+ * Destroys this Entity.
399
+ */
400
+ destroy(): void;
401
401
  }