hytopia 0.6.31 → 0.6.33
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.
- package/bun-server.mjs +162 -162
- package/docs/server.eventpayloads.md +2 -2
- package/docs/server.light.md +1 -1
- package/docs/server.light.spawn.md +2 -2
- package/docs/server.md +53 -0
- package/docs/server.particleemitter._constructor_.md +47 -0
- package/docs/server.particleemitter.alphatest.md +13 -0
- package/docs/server.particleemitter.attachedtoentity.md +13 -0
- package/docs/server.particleemitter.attachedtoentitynodename.md +13 -0
- package/docs/server.particleemitter.colorend.md +13 -0
- package/docs/server.particleemitter.colorendvariance.md +13 -0
- package/docs/server.particleemitter.colorstart.md +13 -0
- package/docs/server.particleemitter.colorstartvariance.md +13 -0
- package/docs/server.particleemitter.despawn.md +17 -0
- package/docs/server.particleemitter.gravity.md +13 -0
- package/docs/server.particleemitter.id.md +13 -0
- package/docs/server.particleemitter.isspawned.md +13 -0
- package/docs/server.particleemitter.isstopped.md +13 -0
- package/docs/server.particleemitter.lifetime.md +13 -0
- package/docs/server.particleemitter.lifetimevariance.md +13 -0
- package/docs/server.particleemitter.maxparticles.md +13 -0
- package/docs/server.particleemitter.md +1164 -0
- package/docs/server.particleemitter.offset.md +13 -0
- package/docs/server.particleemitter.opacityend.md +13 -0
- package/docs/server.particleemitter.opacityendvariance.md +13 -0
- package/docs/server.particleemitter.opacitystart.md +13 -0
- package/docs/server.particleemitter.opacitystartvariance.md +13 -0
- package/docs/server.particleemitter.position.md +13 -0
- package/docs/server.particleemitter.positionvariance.md +13 -0
- package/docs/server.particleemitter.rate.md +13 -0
- package/docs/server.particleemitter.ratevariance.md +13 -0
- package/docs/server.particleemitter.restart.md +17 -0
- package/docs/server.particleemitter.setalphatest.md +53 -0
- package/docs/server.particleemitter.setattachedtoentity.md +53 -0
- package/docs/server.particleemitter.setattachedtoentitynodename.md +53 -0
- package/docs/server.particleemitter.setcolorend.md +53 -0
- package/docs/server.particleemitter.setcolorendvariance.md +53 -0
- package/docs/server.particleemitter.setcolorstart.md +53 -0
- package/docs/server.particleemitter.setcolorstartvariance.md +53 -0
- package/docs/server.particleemitter.setgravity.md +53 -0
- package/docs/server.particleemitter.setlifetime.md +53 -0
- package/docs/server.particleemitter.setlifetimevariance.md +53 -0
- package/docs/server.particleemitter.setmaxparticles.md +53 -0
- package/docs/server.particleemitter.setoffset.md +53 -0
- package/docs/server.particleemitter.setopacityend.md +53 -0
- package/docs/server.particleemitter.setopacityendvariance.md +53 -0
- package/docs/server.particleemitter.setopacitystart.md +53 -0
- package/docs/server.particleemitter.setopacitystartvariance.md +53 -0
- package/docs/server.particleemitter.setposition.md +53 -0
- package/docs/server.particleemitter.setpositionvariance.md +53 -0
- package/docs/server.particleemitter.setrate.md +53 -0
- package/docs/server.particleemitter.setratevariance.md +53 -0
- package/docs/server.particleemitter.setsize.md +53 -0
- package/docs/server.particleemitter.setsizevariance.md +53 -0
- package/docs/server.particleemitter.settextureuri.md +53 -0
- package/docs/server.particleemitter.settransparent.md +53 -0
- package/docs/server.particleemitter.setvelocity.md +53 -0
- package/docs/server.particleemitter.setvelocityvariance.md +53 -0
- package/docs/server.particleemitter.size.md +13 -0
- package/docs/server.particleemitter.sizevariance.md +13 -0
- package/docs/server.particleemitter.spawn.md +53 -0
- package/docs/server.particleemitter.stop.md +17 -0
- package/docs/server.particleemitter.textureuri.md +13 -0
- package/docs/server.particleemitter.transparent.md +13 -0
- package/docs/server.particleemitter.velocity.md +13 -0
- package/docs/server.particleemitter.velocityvariance.md +13 -0
- package/docs/server.particleemitter.world.md +13 -0
- package/docs/server.particleemitterevent.md +425 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.despawn_.md +15 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_alpha_test_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_attached_to_entity_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_attached_to_entity_node_name_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_end_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_end_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_start_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_start_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_gravity_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_lifetime_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_lifetime_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_max_particles_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_offset_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_end_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_end_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_start_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_start_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_position_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_position_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_rate_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_rate_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_texture_uri_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_transparent_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_velocity_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_velocity_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.spawn_.md +15 -0
- package/docs/server.particleemittereventpayloads.md +570 -0
- package/docs/server.particleemittermanager.getallentityattachedparticleemitters.md +55 -0
- package/docs/server.particleemittermanager.getallparticleemitters.md +19 -0
- package/docs/server.particleemittermanager.md +113 -0
- package/docs/server.particleemittermanager.world.md +13 -0
- package/docs/server.particleemitteroptions.alphatest.md +13 -0
- package/docs/server.particleemitteroptions.attachedtoentity.md +13 -0
- package/docs/server.particleemitteroptions.attachedtoentitynodename.md +13 -0
- package/docs/server.particleemitteroptions.colorend.md +13 -0
- package/docs/server.particleemitteroptions.colorendvariance.md +13 -0
- package/docs/server.particleemitteroptions.colorstart.md +13 -0
- package/docs/server.particleemitteroptions.colorstartvariance.md +13 -0
- package/docs/server.particleemitteroptions.gravity.md +13 -0
- package/docs/server.particleemitteroptions.lifetime.md +13 -0
- package/docs/server.particleemitteroptions.lifetimevariance.md +13 -0
- package/docs/server.particleemitteroptions.maxparticles.md +13 -0
- package/docs/server.particleemitteroptions.md +530 -0
- package/docs/server.particleemitteroptions.offset.md +13 -0
- package/docs/server.particleemitteroptions.opacityend.md +13 -0
- package/docs/server.particleemitteroptions.opacityendvariance.md +13 -0
- package/docs/server.particleemitteroptions.opacitystart.md +13 -0
- package/docs/server.particleemitteroptions.opacitystartvariance.md +13 -0
- package/docs/server.particleemitteroptions.position.md +13 -0
- package/docs/server.particleemitteroptions.positionvariance.md +13 -0
- package/docs/server.particleemitteroptions.rate.md +13 -0
- package/docs/server.particleemitteroptions.ratevariance.md +13 -0
- package/docs/server.particleemitteroptions.size.md +13 -0
- package/docs/server.particleemitteroptions.sizevariance.md +13 -0
- package/docs/server.particleemitteroptions.textureuri.md +13 -0
- package/docs/server.particleemitteroptions.transparent.md +13 -0
- package/docs/server.particleemitteroptions.velocity.md +13 -0
- package/docs/server.particleemitteroptions.velocityvariance.md +13 -0
- package/docs/server.world.md +21 -0
- package/docs/server.world.particleemittermanager.md +13 -0
- package/node-server.mjs +155 -155
- package/package.json +1 -1
- package/server.api.json +5557 -220
- package/server.d.ts +566 -3
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions interface
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
export interface ParticleEmitterOptions
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
<table><thead><tr><th>
|
|
16
|
+
|
|
17
|
+
Property
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</th><th>
|
|
21
|
+
|
|
22
|
+
Modifiers
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Type
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Description
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th></tr></thead>
|
|
36
|
+
<tbody><tr><td>
|
|
37
|
+
|
|
38
|
+
[alphaTest?](./server.particleemitteroptions.alphatest.md)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</td><td>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
number
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
_(Optional)_ The alpha test value, discards particle texture pixels with alpha opacity less than this value. Defaults to 0.5.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td></tr>
|
|
55
|
+
<tr><td>
|
|
56
|
+
|
|
57
|
+
[attachedToEntity?](./server.particleemitteroptions.attachedtoentity.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
[Entity](./server.entity.md)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
_(Optional)_ If set, the ParticleEmitter will be attached to this entity.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td></tr>
|
|
74
|
+
<tr><td>
|
|
75
|
+
|
|
76
|
+
[attachedToEntityNodeName?](./server.particleemitteroptions.attachedtoentitynodename.md)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
</td><td>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</td><td>
|
|
83
|
+
|
|
84
|
+
string
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</td><td>
|
|
88
|
+
|
|
89
|
+
_(Optional)_ The name of the node of the attached entity (if the attached entity is a model entity) to attach the particle emitter to.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
</td></tr>
|
|
93
|
+
<tr><td>
|
|
94
|
+
|
|
95
|
+
[colorEnd?](./server.particleemitteroptions.colorend.md)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
</td><td>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
</td><td>
|
|
102
|
+
|
|
103
|
+
[RgbColor](./server.rgbcolor.md)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
</td><td>
|
|
107
|
+
|
|
108
|
+
_(Optional)_ The color of an emitted particle at the end of its lifetime.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
</td></tr>
|
|
112
|
+
<tr><td>
|
|
113
|
+
|
|
114
|
+
[colorEndVariance?](./server.particleemitteroptions.colorendvariance.md)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
</td><td>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</td><td>
|
|
121
|
+
|
|
122
|
+
[RgbColor](./server.rgbcolor.md)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
</td><td>
|
|
126
|
+
|
|
127
|
+
_(Optional)_ The color variance of an emitted particle at the end of its lifetime.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</td></tr>
|
|
131
|
+
<tr><td>
|
|
132
|
+
|
|
133
|
+
[colorStart?](./server.particleemitteroptions.colorstart.md)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</td><td>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
</td><td>
|
|
140
|
+
|
|
141
|
+
[RgbColor](./server.rgbcolor.md)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</td><td>
|
|
145
|
+
|
|
146
|
+
_(Optional)_ The color of an emitted particle at the start of its lifetime.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
</td></tr>
|
|
150
|
+
<tr><td>
|
|
151
|
+
|
|
152
|
+
[colorStartVariance?](./server.particleemitteroptions.colorstartvariance.md)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</td><td>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
</td><td>
|
|
159
|
+
|
|
160
|
+
[RgbColor](./server.rgbcolor.md)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
</td><td>
|
|
164
|
+
|
|
165
|
+
_(Optional)_ The color variance of an emitted particle at the start of its lifetime.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
</td></tr>
|
|
169
|
+
<tr><td>
|
|
170
|
+
|
|
171
|
+
[gravity?](./server.particleemitteroptions.gravity.md)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
</td><td>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</td><td>
|
|
178
|
+
|
|
179
|
+
[Vector3Like](./server.vector3like.md)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
</td><td>
|
|
183
|
+
|
|
184
|
+
_(Optional)_ The gravity vector for an emitted particle.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
</td></tr>
|
|
188
|
+
<tr><td>
|
|
189
|
+
|
|
190
|
+
[lifetime?](./server.particleemitteroptions.lifetime.md)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
</td><td>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
</td><td>
|
|
197
|
+
|
|
198
|
+
number
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
</td><td>
|
|
202
|
+
|
|
203
|
+
_(Optional)_ The lifetime of an emitted particle in seconds.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
</td></tr>
|
|
207
|
+
<tr><td>
|
|
208
|
+
|
|
209
|
+
[lifetimeVariance?](./server.particleemitteroptions.lifetimevariance.md)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
</td><td>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
</td><td>
|
|
216
|
+
|
|
217
|
+
number
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
</td><td>
|
|
221
|
+
|
|
222
|
+
_(Optional)_ The lifetime variance of an emitted particle in seconds.
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</td></tr>
|
|
226
|
+
<tr><td>
|
|
227
|
+
|
|
228
|
+
[maxParticles?](./server.particleemitteroptions.maxparticles.md)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
</td><td>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</td><td>
|
|
235
|
+
|
|
236
|
+
number
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
</td><td>
|
|
240
|
+
|
|
241
|
+
_(Optional)_ The maximum number of live particles.
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
</td></tr>
|
|
245
|
+
<tr><td>
|
|
246
|
+
|
|
247
|
+
[offset?](./server.particleemitteroptions.offset.md)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
</td><td>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
</td><td>
|
|
254
|
+
|
|
255
|
+
[Vector3Like](./server.vector3like.md)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
</td><td>
|
|
259
|
+
|
|
260
|
+
_(Optional)_ The offset of the particle emitter from the attached entity or position.
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
</td></tr>
|
|
264
|
+
<tr><td>
|
|
265
|
+
|
|
266
|
+
[opacityEnd?](./server.particleemitteroptions.opacityend.md)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
</td><td>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
</td><td>
|
|
273
|
+
|
|
274
|
+
number
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
</td><td>
|
|
278
|
+
|
|
279
|
+
_(Optional)_ The opacity of an emitted particle at the end of its lifetime.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
</td></tr>
|
|
283
|
+
<tr><td>
|
|
284
|
+
|
|
285
|
+
[opacityEndVariance?](./server.particleemitteroptions.opacityendvariance.md)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
</td><td>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</td><td>
|
|
292
|
+
|
|
293
|
+
number
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
</td><td>
|
|
297
|
+
|
|
298
|
+
_(Optional)_ The opacity variance of an emitted particle at the end of its lifetime.
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</td></tr>
|
|
302
|
+
<tr><td>
|
|
303
|
+
|
|
304
|
+
[opacityStart?](./server.particleemitteroptions.opacitystart.md)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</td><td>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
</td><td>
|
|
311
|
+
|
|
312
|
+
number
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
</td><td>
|
|
316
|
+
|
|
317
|
+
_(Optional)_ The opacity of an emitted particle at the start of its lifetime.
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
</td></tr>
|
|
321
|
+
<tr><td>
|
|
322
|
+
|
|
323
|
+
[opacityStartVariance?](./server.particleemitteroptions.opacitystartvariance.md)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
</td><td>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
</td><td>
|
|
330
|
+
|
|
331
|
+
number
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
</td><td>
|
|
335
|
+
|
|
336
|
+
_(Optional)_ The opacity variance of an emitted particle at the start of its lifetime.
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
</td></tr>
|
|
340
|
+
<tr><td>
|
|
341
|
+
|
|
342
|
+
[position?](./server.particleemitteroptions.position.md)
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
</td><td>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
</td><td>
|
|
349
|
+
|
|
350
|
+
[Vector3Like](./server.vector3like.md)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
</td><td>
|
|
354
|
+
|
|
355
|
+
_(Optional)_ The position of the particle emitter in the world if explicitly set.
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
</td></tr>
|
|
359
|
+
<tr><td>
|
|
360
|
+
|
|
361
|
+
[positionVariance?](./server.particleemitteroptions.positionvariance.md)
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
</td><td>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
</td><td>
|
|
368
|
+
|
|
369
|
+
[Vector3Like](./server.vector3like.md)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
</td><td>
|
|
373
|
+
|
|
374
|
+
_(Optional)_ The position variance of an emitted particle.
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
</td></tr>
|
|
378
|
+
<tr><td>
|
|
379
|
+
|
|
380
|
+
[rate?](./server.particleemitteroptions.rate.md)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
</td><td>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
</td><td>
|
|
387
|
+
|
|
388
|
+
number
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
</td><td>
|
|
392
|
+
|
|
393
|
+
_(Optional)_ The rate per second at which particles are emitted.
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
</td></tr>
|
|
397
|
+
<tr><td>
|
|
398
|
+
|
|
399
|
+
[rateVariance?](./server.particleemitteroptions.ratevariance.md)
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
</td><td>
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
</td><td>
|
|
406
|
+
|
|
407
|
+
number
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
</td><td>
|
|
411
|
+
|
|
412
|
+
_(Optional)_ The rate per second variance of the particle emission rate.
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
</td></tr>
|
|
416
|
+
<tr><td>
|
|
417
|
+
|
|
418
|
+
[size?](./server.particleemitteroptions.size.md)
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
</td><td>
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
</td><td>
|
|
425
|
+
|
|
426
|
+
number
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</td><td>
|
|
430
|
+
|
|
431
|
+
_(Optional)_ The size of an emitted particle.
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
</td></tr>
|
|
435
|
+
<tr><td>
|
|
436
|
+
|
|
437
|
+
[sizeVariance?](./server.particleemitteroptions.sizevariance.md)
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
</td><td>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
</td><td>
|
|
444
|
+
|
|
445
|
+
number
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
</td><td>
|
|
449
|
+
|
|
450
|
+
_(Optional)_ The size variance of an emitted particle.
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
</td></tr>
|
|
454
|
+
<tr><td>
|
|
455
|
+
|
|
456
|
+
[textureUri](./server.particleemitteroptions.textureuri.md)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
</td><td>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
</td><td>
|
|
463
|
+
|
|
464
|
+
string
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
</td><td>
|
|
468
|
+
|
|
469
|
+
The URI or path to the texture to be used for the particles.
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
</td></tr>
|
|
473
|
+
<tr><td>
|
|
474
|
+
|
|
475
|
+
[transparent?](./server.particleemitteroptions.transparent.md)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
</td><td>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
</td><td>
|
|
482
|
+
|
|
483
|
+
boolean
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
</td><td>
|
|
487
|
+
|
|
488
|
+
_(Optional)_ Whether an emitted particle is transparent, resulting in smoother transparency blending.
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
</td></tr>
|
|
492
|
+
<tr><td>
|
|
493
|
+
|
|
494
|
+
[velocity?](./server.particleemitteroptions.velocity.md)
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
</td><td>
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
</td><td>
|
|
501
|
+
|
|
502
|
+
[Vector3Like](./server.vector3like.md)
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
</td><td>
|
|
506
|
+
|
|
507
|
+
_(Optional)_ The velocity of an emitted particle.
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
</td></tr>
|
|
511
|
+
<tr><td>
|
|
512
|
+
|
|
513
|
+
[velocityVariance?](./server.particleemitteroptions.velocityvariance.md)
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
</td><td>
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
</td><td>
|
|
520
|
+
|
|
521
|
+
[Vector3Like](./server.vector3like.md)
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
</td><td>
|
|
525
|
+
|
|
526
|
+
_(Optional)_ The velocity variance of an emitted particle.
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
</td></tr>
|
|
530
|
+
</tbody></table>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [offset](./server.particleemitteroptions.offset.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.offset property
|
|
6
|
+
|
|
7
|
+
The offset of the particle emitter from the attached entity or position.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
offset?: Vector3Like;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [opacityEnd](./server.particleemitteroptions.opacityend.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.opacityEnd property
|
|
6
|
+
|
|
7
|
+
The opacity of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
opacityEnd?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [opacityEndVariance](./server.particleemitteroptions.opacityendvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.opacityEndVariance property
|
|
6
|
+
|
|
7
|
+
The opacity variance of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
opacityEndVariance?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [opacityStart](./server.particleemitteroptions.opacitystart.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.opacityStart property
|
|
6
|
+
|
|
7
|
+
The opacity of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
opacityStart?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [opacityStartVariance](./server.particleemitteroptions.opacitystartvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.opacityStartVariance property
|
|
6
|
+
|
|
7
|
+
The opacity variance of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
opacityStartVariance?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [position](./server.particleemitteroptions.position.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.position property
|
|
6
|
+
|
|
7
|
+
The position of the particle emitter in the world if explicitly set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
position?: Vector3Like;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [positionVariance](./server.particleemitteroptions.positionvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.positionVariance property
|
|
6
|
+
|
|
7
|
+
The position variance of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
positionVariance?: Vector3Like;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [rate](./server.particleemitteroptions.rate.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.rate property
|
|
6
|
+
|
|
7
|
+
The rate per second at which particles are emitted.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
rate?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [rateVariance](./server.particleemitteroptions.ratevariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.rateVariance property
|
|
6
|
+
|
|
7
|
+
The rate per second variance of the particle emission rate.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
rateVariance?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [size](./server.particleemitteroptions.size.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.size property
|
|
6
|
+
|
|
7
|
+
The size of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
size?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [sizeVariance](./server.particleemitteroptions.sizevariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.sizeVariance property
|
|
6
|
+
|
|
7
|
+
The size variance of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
sizeVariance?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [textureUri](./server.particleemitteroptions.textureuri.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.textureUri property
|
|
6
|
+
|
|
7
|
+
The URI or path to the texture to be used for the particles.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
textureUri: string;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [transparent](./server.particleemitteroptions.transparent.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterOptions.transparent property
|
|
6
|
+
|
|
7
|
+
Whether an emitted particle is transparent, resulting in smoother transparency blending.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
transparent?: boolean;
|
|
13
|
+
```
|