hytopia 0.6.30 → 0.6.32
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/bin/scripts.mjs +39 -9
- 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 +55 -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.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 +1125 -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.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 +411 -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_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 +551 -0
- package/docs/server.particleemittermanager.getallentityattachedparticleemitters.md +55 -0
- package/docs/server.particleemittermanager.getallparticleemitters.md +19 -0
- package/docs/server.particleemittermanager.md +109 -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.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 +511 -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 +154 -154
- package/package.json +1 -1
- package/server.api.json +5386 -220
- package/server.d.ts +533 -3
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads interface
|
|
6
|
+
|
|
7
|
+
Event payloads for ParticleEmitter emitted events.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface ParticleEmitterEventPayloads
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
["PARTICLE\_EMITTER.DESPAWN"](./server.particleemittereventpayloads._particle_emitter.despawn_.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; }
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
Emitted when a ParticleEmitter is despawned.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
59
|
+
["PARTICLE\_EMITTER.SET\_ALPHA\_TEST"](./server.particleemittereventpayloads._particle_emitter.set_alpha_test_.md)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
</td><td>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; alphaTest: number; }
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
Emitted when the alpha test value is set.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
</td></tr>
|
|
76
|
+
<tr><td>
|
|
77
|
+
|
|
78
|
+
["PARTICLE\_EMITTER.SET\_ATTACHED\_TO\_ENTITY"](./server.particleemittereventpayloads._particle_emitter.set_attached_to_entity_.md)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
</td><td>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
</td><td>
|
|
85
|
+
|
|
86
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; entity: [Entity](./server.entity.md)<!-- -->; }
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</td><td>
|
|
90
|
+
|
|
91
|
+
Emitted when the ParticleEmitter is attached to an entity.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td></tr>
|
|
95
|
+
<tr><td>
|
|
96
|
+
|
|
97
|
+
["PARTICLE\_EMITTER.SET\_COLOR\_END\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_color_end_variance_.md)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
</td><td>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
</td><td>
|
|
104
|
+
|
|
105
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; colorEndVariance: [RgbColor](./server.rgbcolor.md)<!-- -->; }
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</td><td>
|
|
109
|
+
|
|
110
|
+
Emitted when the color variance of an emitted particle at the end of its lifetime is set.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td></tr>
|
|
114
|
+
<tr><td>
|
|
115
|
+
|
|
116
|
+
["PARTICLE\_EMITTER.SET\_COLOR\_END"](./server.particleemittereventpayloads._particle_emitter.set_color_end_.md)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</td><td>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</td><td>
|
|
123
|
+
|
|
124
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; colorEnd: [RgbColor](./server.rgbcolor.md)<!-- -->; }
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
</td><td>
|
|
128
|
+
|
|
129
|
+
Emitted when the color of an emitted particle at the end of its lifetime is set.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</td></tr>
|
|
133
|
+
<tr><td>
|
|
134
|
+
|
|
135
|
+
["PARTICLE\_EMITTER.SET\_COLOR\_START\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_color_start_variance_.md)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
</td><td>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</td><td>
|
|
142
|
+
|
|
143
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; colorStartVariance: [RgbColor](./server.rgbcolor.md)<!-- -->; }
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</td><td>
|
|
147
|
+
|
|
148
|
+
Emitted when the color variance of an emitted particle at the start of its lifetime is set.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</td></tr>
|
|
152
|
+
<tr><td>
|
|
153
|
+
|
|
154
|
+
["PARTICLE\_EMITTER.SET\_COLOR\_START"](./server.particleemittereventpayloads._particle_emitter.set_color_start_.md)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
</td><td>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</td><td>
|
|
161
|
+
|
|
162
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; colorStart: [RgbColor](./server.rgbcolor.md)<!-- -->; }
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</td><td>
|
|
166
|
+
|
|
167
|
+
Emitted when the color of an emitted particle at the start of its lifetime is set.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</td></tr>
|
|
171
|
+
<tr><td>
|
|
172
|
+
|
|
173
|
+
["PARTICLE\_EMITTER.SET\_GRAVITY"](./server.particleemittereventpayloads._particle_emitter.set_gravity_.md)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
</td><td>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
</td><td>
|
|
180
|
+
|
|
181
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; gravity: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
</td><td>
|
|
185
|
+
|
|
186
|
+
Emitted when the gravity vector for an emitted particle is set.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
</td></tr>
|
|
190
|
+
<tr><td>
|
|
191
|
+
|
|
192
|
+
["PARTICLE\_EMITTER.SET\_LIFETIME\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_lifetime_variance_.md)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
</td><td>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</td><td>
|
|
199
|
+
|
|
200
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; lifetimeVariance: number; }
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
</td><td>
|
|
204
|
+
|
|
205
|
+
Emitted when the lifetime variance of an emitted particle is set.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
</td></tr>
|
|
209
|
+
<tr><td>
|
|
210
|
+
|
|
211
|
+
["PARTICLE\_EMITTER.SET\_LIFETIME"](./server.particleemittereventpayloads._particle_emitter.set_lifetime_.md)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</td><td>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
</td><td>
|
|
218
|
+
|
|
219
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; lifetime: number; }
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</td><td>
|
|
223
|
+
|
|
224
|
+
Emitted when the lifetime of an emitted particle is set.
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
</td></tr>
|
|
228
|
+
<tr><td>
|
|
229
|
+
|
|
230
|
+
["PARTICLE\_EMITTER.SET\_MAX\_PARTICLES"](./server.particleemittereventpayloads._particle_emitter.set_max_particles_.md)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
</td><td>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
</td><td>
|
|
237
|
+
|
|
238
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; maxParticles: number; }
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
</td><td>
|
|
242
|
+
|
|
243
|
+
Emitted when the maximum number of live particles is set.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</td></tr>
|
|
247
|
+
<tr><td>
|
|
248
|
+
|
|
249
|
+
["PARTICLE\_EMITTER.SET\_OFFSET"](./server.particleemittereventpayloads._particle_emitter.set_offset_.md)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
</td><td>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
</td><td>
|
|
256
|
+
|
|
257
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; offset: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
</td><td>
|
|
261
|
+
|
|
262
|
+
Emitted when the offset of the particle emitter is set.
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
</td></tr>
|
|
266
|
+
<tr><td>
|
|
267
|
+
|
|
268
|
+
["PARTICLE\_EMITTER.SET\_OPACITY\_END\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_opacity_end_variance_.md)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
</td><td>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
</td><td>
|
|
275
|
+
|
|
276
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; opacityEndVariance: number; }
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
</td><td>
|
|
280
|
+
|
|
281
|
+
Emitted when the opacity variance of an emitted particle at the end of its lifetime is set.
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
</td></tr>
|
|
285
|
+
<tr><td>
|
|
286
|
+
|
|
287
|
+
["PARTICLE\_EMITTER.SET\_OPACITY\_END"](./server.particleemittereventpayloads._particle_emitter.set_opacity_end_.md)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
</td><td>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</td><td>
|
|
294
|
+
|
|
295
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; opacityEnd: number; }
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
</td><td>
|
|
299
|
+
|
|
300
|
+
Emitted when the opacity of an emitted particle at the end of its lifetime is set.
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
</td></tr>
|
|
304
|
+
<tr><td>
|
|
305
|
+
|
|
306
|
+
["PARTICLE\_EMITTER.SET\_OPACITY\_START\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_opacity_start_variance_.md)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</td><td>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</td><td>
|
|
313
|
+
|
|
314
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; opacityStartVariance: number; }
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
</td><td>
|
|
318
|
+
|
|
319
|
+
Emitted when the opacity variance of an emitted particle at the start of its lifetime is set.
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
</td></tr>
|
|
323
|
+
<tr><td>
|
|
324
|
+
|
|
325
|
+
["PARTICLE\_EMITTER.SET\_OPACITY\_START"](./server.particleemittereventpayloads._particle_emitter.set_opacity_start_.md)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
</td><td>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
</td><td>
|
|
332
|
+
|
|
333
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; opacityStart: number; }
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
</td><td>
|
|
337
|
+
|
|
338
|
+
Emitted when the opacity of an emitted particle at the start of its lifetime is set.
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
</td></tr>
|
|
342
|
+
<tr><td>
|
|
343
|
+
|
|
344
|
+
["PARTICLE\_EMITTER.SET\_POSITION\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_position_variance_.md)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
</td><td>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
</td><td>
|
|
351
|
+
|
|
352
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; positionVariance: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</td><td>
|
|
356
|
+
|
|
357
|
+
Emitted when the position variance of an emitted particle is set.
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
</td></tr>
|
|
361
|
+
<tr><td>
|
|
362
|
+
|
|
363
|
+
["PARTICLE\_EMITTER.SET\_POSITION"](./server.particleemittereventpayloads._particle_emitter.set_position_.md)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
</td><td>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
</td><td>
|
|
370
|
+
|
|
371
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; position: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
</td><td>
|
|
375
|
+
|
|
376
|
+
Emitted when the position of the particle emitter is set.
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
</td></tr>
|
|
380
|
+
<tr><td>
|
|
381
|
+
|
|
382
|
+
["PARTICLE\_EMITTER.SET\_RATE\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_rate_variance_.md)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
</td><td>
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
</td><td>
|
|
389
|
+
|
|
390
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; rateVariance: number; }
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
</td><td>
|
|
394
|
+
|
|
395
|
+
Emitted when the rate per second variance of the particle emission rate is set.
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
</td></tr>
|
|
399
|
+
<tr><td>
|
|
400
|
+
|
|
401
|
+
["PARTICLE\_EMITTER.SET\_RATE"](./server.particleemittereventpayloads._particle_emitter.set_rate_.md)
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
</td><td>
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
</td><td>
|
|
408
|
+
|
|
409
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; rate: number; }
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
</td><td>
|
|
413
|
+
|
|
414
|
+
Emitted when the rate per second at which particles are emitted is set.
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</td></tr>
|
|
418
|
+
<tr><td>
|
|
419
|
+
|
|
420
|
+
["PARTICLE\_EMITTER.SET\_SIZE\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_size_variance_.md)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
</td><td>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
</td><td>
|
|
427
|
+
|
|
428
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeVariance: number; }
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
</td><td>
|
|
432
|
+
|
|
433
|
+
Emitted when the size variance of an emitted particle is set.
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
</td></tr>
|
|
437
|
+
<tr><td>
|
|
438
|
+
|
|
439
|
+
["PARTICLE\_EMITTER.SET\_SIZE"](./server.particleemittereventpayloads._particle_emitter.set_size_.md)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
</td><td>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
</td><td>
|
|
446
|
+
|
|
447
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; size: number; }
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
</td><td>
|
|
451
|
+
|
|
452
|
+
Emitted when the size of an emitted particle is set.
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
</td></tr>
|
|
456
|
+
<tr><td>
|
|
457
|
+
|
|
458
|
+
["PARTICLE\_EMITTER.SET\_TEXTURE\_URI"](./server.particleemittereventpayloads._particle_emitter.set_texture_uri_.md)
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
</td><td>
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
</td><td>
|
|
465
|
+
|
|
466
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; textureUri: string; }
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
</td><td>
|
|
470
|
+
|
|
471
|
+
Emitted when the texture URI is set.
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
</td></tr>
|
|
475
|
+
<tr><td>
|
|
476
|
+
|
|
477
|
+
["PARTICLE\_EMITTER.SET\_TRANSPARENT"](./server.particleemittereventpayloads._particle_emitter.set_transparent_.md)
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
</td><td>
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
</td><td>
|
|
484
|
+
|
|
485
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; transparent: boolean; }
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
</td><td>
|
|
489
|
+
|
|
490
|
+
Emitted when the transparency of an emitted particle is set.
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
</td></tr>
|
|
494
|
+
<tr><td>
|
|
495
|
+
|
|
496
|
+
["PARTICLE\_EMITTER.SET\_VELOCITY\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_velocity_variance_.md)
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
</td><td>
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
</td><td>
|
|
503
|
+
|
|
504
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; velocityVariance: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
</td><td>
|
|
508
|
+
|
|
509
|
+
Emitted when the velocity variance of an emitted particle is set.
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
</td></tr>
|
|
513
|
+
<tr><td>
|
|
514
|
+
|
|
515
|
+
["PARTICLE\_EMITTER.SET\_VELOCITY"](./server.particleemittereventpayloads._particle_emitter.set_velocity_.md)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
</td><td>
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</td><td>
|
|
522
|
+
|
|
523
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; velocity: [Vector3Like](./server.vector3like.md)<!-- -->; }
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
</td><td>
|
|
527
|
+
|
|
528
|
+
Emitted when the velocity of an emitted particle is set.
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
</td></tr>
|
|
532
|
+
<tr><td>
|
|
533
|
+
|
|
534
|
+
["PARTICLE\_EMITTER.SPAWN"](./server.particleemittereventpayloads._particle_emitter.spawn_.md)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
</td><td>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
</td><td>
|
|
541
|
+
|
|
542
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; }
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
</td><td>
|
|
546
|
+
|
|
547
|
+
Emitted when a ParticleEmitter is spawned.
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
</td></tr>
|
|
551
|
+
</tbody></table>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterManager](./server.particleemittermanager.md) > [getAllEntityAttachedParticleEmitters](./server.particleemittermanager.getallentityattachedparticleemitters.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterManager.getAllEntityAttachedParticleEmitters() method
|
|
6
|
+
|
|
7
|
+
Retrieves all spawned ParticleEmitter instances attached to a specific entity.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
getAllEntityAttachedParticleEmitters(entity: Entity): ParticleEmitter[];
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Parameter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Type
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
entity
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[Entity](./server.entity.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The entity to get attached ParticleEmitter instances for.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
[ParticleEmitter](./server.particleemitter.md)<!-- -->\[\]
|
|
53
|
+
|
|
54
|
+
An array of ParticleEmitter instances.
|
|
55
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterManager](./server.particleemittermanager.md) > [getAllParticleEmitters](./server.particleemittermanager.getallparticleemitters.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterManager.getAllParticleEmitters() method
|
|
6
|
+
|
|
7
|
+
Retrieves all spawned ParticleEmitter instances for the world.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
getAllParticleEmitters(): ParticleEmitter[];
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
[ParticleEmitter](./server.particleemitter.md)<!-- -->\[\]
|
|
17
|
+
|
|
18
|
+
An array of ParticleEmitter instances.
|
|
19
|
+
|