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,1164 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitter](./server.particleemitter.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter class
|
|
6
|
+
|
|
7
|
+
Represents a particle emitter in the world. Emit 2D particles that always face the camera.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export default class ParticleEmitter extends EventRouter implements protocol.Serializable
|
|
13
|
+
```
|
|
14
|
+
**Extends:** [EventRouter](./server.eventrouter.md)
|
|
15
|
+
|
|
16
|
+
**Implements:** protocol.Serializable
|
|
17
|
+
|
|
18
|
+
## Remarks
|
|
19
|
+
|
|
20
|
+
Particle emitters are created directly as instances. They support a variety of configuration options through the [ParticleEmitterOptions](./server.particleemitteroptions.md) constructor argument.
|
|
21
|
+
|
|
22
|
+
<h2>Events</h2>
|
|
23
|
+
|
|
24
|
+
This class is an EventRouter, and instance of it emit events with payloads listed under [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->.
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
const particleEmitter = new ParticleEmitter({
|
|
31
|
+
textureUri: 'textures/particles/smoke.png',
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
particleEmitter.spawn(world);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Constructors
|
|
38
|
+
|
|
39
|
+
<table><thead><tr><th>
|
|
40
|
+
|
|
41
|
+
Constructor
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</th><th>
|
|
45
|
+
|
|
46
|
+
Modifiers
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</th><th>
|
|
50
|
+
|
|
51
|
+
Description
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</th></tr></thead>
|
|
55
|
+
<tbody><tr><td>
|
|
56
|
+
|
|
57
|
+
[(constructor)(options)](./server.particleemitter._constructor_.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
Constructs a new instance of the `ParticleEmitter` class
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td></tr>
|
|
69
|
+
</tbody></table>
|
|
70
|
+
|
|
71
|
+
## Properties
|
|
72
|
+
|
|
73
|
+
<table><thead><tr><th>
|
|
74
|
+
|
|
75
|
+
Property
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
</th><th>
|
|
79
|
+
|
|
80
|
+
Modifiers
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
</th><th>
|
|
84
|
+
|
|
85
|
+
Type
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
</th><th>
|
|
89
|
+
|
|
90
|
+
Description
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
</th></tr></thead>
|
|
94
|
+
<tbody><tr><td>
|
|
95
|
+
|
|
96
|
+
[alphaTest](./server.particleemitter.alphatest.md)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</td><td>
|
|
100
|
+
|
|
101
|
+
`readonly`
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
</td><td>
|
|
105
|
+
|
|
106
|
+
number \| undefined
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
</td><td>
|
|
110
|
+
|
|
111
|
+
The alpha test value, discards particle texture pixels with alpha opacity less than this value.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
</td></tr>
|
|
115
|
+
<tr><td>
|
|
116
|
+
|
|
117
|
+
[attachedToEntity](./server.particleemitter.attachedtoentity.md)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</td><td>
|
|
121
|
+
|
|
122
|
+
`readonly`
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
</td><td>
|
|
126
|
+
|
|
127
|
+
[Entity](./server.entity.md) \| undefined
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</td><td>
|
|
131
|
+
|
|
132
|
+
The entity to which the ParticleEmitter is attached if explicitly set.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</td></tr>
|
|
136
|
+
<tr><td>
|
|
137
|
+
|
|
138
|
+
[attachedToEntityNodeName](./server.particleemitter.attachedtoentitynodename.md)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</td><td>
|
|
142
|
+
|
|
143
|
+
`readonly`
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</td><td>
|
|
147
|
+
|
|
148
|
+
string \| undefined
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</td><td>
|
|
152
|
+
|
|
153
|
+
The name of the node of the attached entity (if the attached entity is a model entity) to attach the particle emitter to.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</td></tr>
|
|
157
|
+
<tr><td>
|
|
158
|
+
|
|
159
|
+
[colorEnd](./server.particleemitter.colorend.md)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
</td><td>
|
|
163
|
+
|
|
164
|
+
`readonly`
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
</td><td>
|
|
168
|
+
|
|
169
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
</td><td>
|
|
173
|
+
|
|
174
|
+
The color of an emitted particle at the end of its lifetime.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</td></tr>
|
|
178
|
+
<tr><td>
|
|
179
|
+
|
|
180
|
+
[colorEndVariance](./server.particleemitter.colorendvariance.md)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
</td><td>
|
|
184
|
+
|
|
185
|
+
`readonly`
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
</td><td>
|
|
189
|
+
|
|
190
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
</td><td>
|
|
194
|
+
|
|
195
|
+
The color variance of an emitted particle at the end of its lifetime.
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</td></tr>
|
|
199
|
+
<tr><td>
|
|
200
|
+
|
|
201
|
+
[colorStart](./server.particleemitter.colorstart.md)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td><td>
|
|
205
|
+
|
|
206
|
+
`readonly`
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td><td>
|
|
210
|
+
|
|
211
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</td><td>
|
|
215
|
+
|
|
216
|
+
The color of an emitted particle at the start of its lifetime.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
</td></tr>
|
|
220
|
+
<tr><td>
|
|
221
|
+
|
|
222
|
+
[colorStartVariance](./server.particleemitter.colorstartvariance.md)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</td><td>
|
|
226
|
+
|
|
227
|
+
`readonly`
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
</td><td>
|
|
231
|
+
|
|
232
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
</td><td>
|
|
236
|
+
|
|
237
|
+
The color variance of an emitted particle at the start of its lifetime.
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</td></tr>
|
|
241
|
+
<tr><td>
|
|
242
|
+
|
|
243
|
+
[gravity](./server.particleemitter.gravity.md)
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</td><td>
|
|
247
|
+
|
|
248
|
+
`readonly`
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</td><td>
|
|
252
|
+
|
|
253
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</td><td>
|
|
257
|
+
|
|
258
|
+
The gravity vector for an emitted particle.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
</td></tr>
|
|
262
|
+
<tr><td>
|
|
263
|
+
|
|
264
|
+
[id](./server.particleemitter.id.md)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
</td><td>
|
|
268
|
+
|
|
269
|
+
`readonly`
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
</td><td>
|
|
273
|
+
|
|
274
|
+
number \| undefined
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
</td><td>
|
|
278
|
+
|
|
279
|
+
The unique identifier for the ParticlEmitter.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
</td></tr>
|
|
283
|
+
<tr><td>
|
|
284
|
+
|
|
285
|
+
[isSpawned](./server.particleemitter.isspawned.md)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
</td><td>
|
|
289
|
+
|
|
290
|
+
`readonly`
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</td><td>
|
|
294
|
+
|
|
295
|
+
boolean
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
</td><td>
|
|
299
|
+
|
|
300
|
+
Whether the ParticleEmitter is spawned in the world.
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
</td></tr>
|
|
304
|
+
<tr><td>
|
|
305
|
+
|
|
306
|
+
[isStopped](./server.particleemitter.isstopped.md)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</td><td>
|
|
310
|
+
|
|
311
|
+
`readonly`
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
</td><td>
|
|
315
|
+
|
|
316
|
+
boolean
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
</td><td>
|
|
320
|
+
|
|
321
|
+
Whether the ParticleEmitter is stopped.
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
</td></tr>
|
|
325
|
+
<tr><td>
|
|
326
|
+
|
|
327
|
+
[lifetime](./server.particleemitter.lifetime.md)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
</td><td>
|
|
331
|
+
|
|
332
|
+
`readonly`
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
</td><td>
|
|
336
|
+
|
|
337
|
+
number \| undefined
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
</td><td>
|
|
341
|
+
|
|
342
|
+
The lifetime of an emitted particle in seconds.
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
</td></tr>
|
|
346
|
+
<tr><td>
|
|
347
|
+
|
|
348
|
+
[lifetimeVariance](./server.particleemitter.lifetimevariance.md)
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</td><td>
|
|
352
|
+
|
|
353
|
+
`readonly`
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
</td><td>
|
|
357
|
+
|
|
358
|
+
number \| undefined
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
</td><td>
|
|
362
|
+
|
|
363
|
+
The lifetime variance of an emitted particle in seconds.
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
</td></tr>
|
|
367
|
+
<tr><td>
|
|
368
|
+
|
|
369
|
+
[maxParticles](./server.particleemitter.maxparticles.md)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
</td><td>
|
|
373
|
+
|
|
374
|
+
`readonly`
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
</td><td>
|
|
378
|
+
|
|
379
|
+
number \| undefined
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
</td><td>
|
|
383
|
+
|
|
384
|
+
The maximum number of live particles.
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</td></tr>
|
|
388
|
+
<tr><td>
|
|
389
|
+
|
|
390
|
+
[offset](./server.particleemitter.offset.md)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
</td><td>
|
|
394
|
+
|
|
395
|
+
`readonly`
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
</td><td>
|
|
399
|
+
|
|
400
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
</td><td>
|
|
404
|
+
|
|
405
|
+
The offset of the particle emitter from the attached entity or position.
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
</td></tr>
|
|
409
|
+
<tr><td>
|
|
410
|
+
|
|
411
|
+
[opacityEnd](./server.particleemitter.opacityend.md)
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
</td><td>
|
|
415
|
+
|
|
416
|
+
`readonly`
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
</td><td>
|
|
420
|
+
|
|
421
|
+
number \| undefined
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
</td><td>
|
|
425
|
+
|
|
426
|
+
The opacity of an emitted particle at the end of its lifetime.
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</td></tr>
|
|
430
|
+
<tr><td>
|
|
431
|
+
|
|
432
|
+
[opacityEndVariance](./server.particleemitter.opacityendvariance.md)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
</td><td>
|
|
436
|
+
|
|
437
|
+
`readonly`
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
</td><td>
|
|
441
|
+
|
|
442
|
+
number \| undefined
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
</td><td>
|
|
446
|
+
|
|
447
|
+
The opacity variance of an emitted particle at the end of its lifetime.
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
</td></tr>
|
|
451
|
+
<tr><td>
|
|
452
|
+
|
|
453
|
+
[opacityStart](./server.particleemitter.opacitystart.md)
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
</td><td>
|
|
457
|
+
|
|
458
|
+
`readonly`
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
</td><td>
|
|
462
|
+
|
|
463
|
+
number \| undefined
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
</td><td>
|
|
467
|
+
|
|
468
|
+
The opacity of an emitted particle at the start of its lifetime.
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
</td></tr>
|
|
472
|
+
<tr><td>
|
|
473
|
+
|
|
474
|
+
[opacityStartVariance](./server.particleemitter.opacitystartvariance.md)
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
</td><td>
|
|
478
|
+
|
|
479
|
+
`readonly`
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
</td><td>
|
|
483
|
+
|
|
484
|
+
number \| undefined
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
</td><td>
|
|
488
|
+
|
|
489
|
+
The opacity variance of an emitted particle at the start of its lifetime.
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
</td></tr>
|
|
493
|
+
<tr><td>
|
|
494
|
+
|
|
495
|
+
[position](./server.particleemitter.position.md)
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
</td><td>
|
|
499
|
+
|
|
500
|
+
`readonly`
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
</td><td>
|
|
504
|
+
|
|
505
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
</td><td>
|
|
509
|
+
|
|
510
|
+
The position of the particle emitter in the world if explicitly set.
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
</td></tr>
|
|
514
|
+
<tr><td>
|
|
515
|
+
|
|
516
|
+
[positionVariance](./server.particleemitter.positionvariance.md)
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
</td><td>
|
|
520
|
+
|
|
521
|
+
`readonly`
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
</td><td>
|
|
525
|
+
|
|
526
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
</td><td>
|
|
530
|
+
|
|
531
|
+
The position variance of an emitted particle.
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
</td></tr>
|
|
535
|
+
<tr><td>
|
|
536
|
+
|
|
537
|
+
[rate](./server.particleemitter.rate.md)
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
</td><td>
|
|
541
|
+
|
|
542
|
+
`readonly`
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
</td><td>
|
|
546
|
+
|
|
547
|
+
number \| undefined
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
</td><td>
|
|
551
|
+
|
|
552
|
+
The rate per second at which particles are emitted.
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
</td></tr>
|
|
556
|
+
<tr><td>
|
|
557
|
+
|
|
558
|
+
[rateVariance](./server.particleemitter.ratevariance.md)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
</td><td>
|
|
562
|
+
|
|
563
|
+
`readonly`
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
</td><td>
|
|
567
|
+
|
|
568
|
+
number \| undefined
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
</td><td>
|
|
572
|
+
|
|
573
|
+
The rate per second variance of the particle emission rate.
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
</td></tr>
|
|
577
|
+
<tr><td>
|
|
578
|
+
|
|
579
|
+
[size](./server.particleemitter.size.md)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
</td><td>
|
|
583
|
+
|
|
584
|
+
`readonly`
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
</td><td>
|
|
588
|
+
|
|
589
|
+
number \| undefined
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
</td><td>
|
|
593
|
+
|
|
594
|
+
The size of an emitted particle.
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
</td></tr>
|
|
598
|
+
<tr><td>
|
|
599
|
+
|
|
600
|
+
[sizeVariance](./server.particleemitter.sizevariance.md)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</td><td>
|
|
604
|
+
|
|
605
|
+
`readonly`
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
</td><td>
|
|
609
|
+
|
|
610
|
+
number \| undefined
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
</td><td>
|
|
614
|
+
|
|
615
|
+
The size variance of an emitted particle.
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
</td></tr>
|
|
619
|
+
<tr><td>
|
|
620
|
+
|
|
621
|
+
[textureUri](./server.particleemitter.textureuri.md)
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
</td><td>
|
|
625
|
+
|
|
626
|
+
`readonly`
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
</td><td>
|
|
630
|
+
|
|
631
|
+
string
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
</td><td>
|
|
635
|
+
|
|
636
|
+
The URI or path to the texture to be used for the particles.
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
</td></tr>
|
|
640
|
+
<tr><td>
|
|
641
|
+
|
|
642
|
+
[transparent](./server.particleemitter.transparent.md)
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
</td><td>
|
|
646
|
+
|
|
647
|
+
`readonly`
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
</td><td>
|
|
651
|
+
|
|
652
|
+
boolean \| undefined
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
</td><td>
|
|
656
|
+
|
|
657
|
+
Whether an emitted particle is transparent, resulting in smoother transparency blending.
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
</td></tr>
|
|
661
|
+
<tr><td>
|
|
662
|
+
|
|
663
|
+
[velocity](./server.particleemitter.velocity.md)
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
</td><td>
|
|
667
|
+
|
|
668
|
+
`readonly`
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
</td><td>
|
|
672
|
+
|
|
673
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
</td><td>
|
|
677
|
+
|
|
678
|
+
The velocity of an emitted particle.
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
</td></tr>
|
|
682
|
+
<tr><td>
|
|
683
|
+
|
|
684
|
+
[velocityVariance](./server.particleemitter.velocityvariance.md)
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
</td><td>
|
|
688
|
+
|
|
689
|
+
`readonly`
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</td><td>
|
|
693
|
+
|
|
694
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
</td><td>
|
|
698
|
+
|
|
699
|
+
The velocity variance of an emitted particle.
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
</td></tr>
|
|
703
|
+
<tr><td>
|
|
704
|
+
|
|
705
|
+
[world](./server.particleemitter.world.md)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
</td><td>
|
|
709
|
+
|
|
710
|
+
`readonly`
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
</td><td>
|
|
714
|
+
|
|
715
|
+
[World](./server.world.md) \| undefined
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
</td><td>
|
|
719
|
+
|
|
720
|
+
The world the ParticleEmitter is in.
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
</td></tr>
|
|
724
|
+
</tbody></table>
|
|
725
|
+
|
|
726
|
+
## Methods
|
|
727
|
+
|
|
728
|
+
<table><thead><tr><th>
|
|
729
|
+
|
|
730
|
+
Method
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
</th><th>
|
|
734
|
+
|
|
735
|
+
Modifiers
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
</th><th>
|
|
739
|
+
|
|
740
|
+
Description
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
</th></tr></thead>
|
|
744
|
+
<tbody><tr><td>
|
|
745
|
+
|
|
746
|
+
[despawn()](./server.particleemitter.despawn.md)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
</td><td>
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
</td><td>
|
|
753
|
+
|
|
754
|
+
Despawns the ParticleEmitter from the world.
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
</td></tr>
|
|
758
|
+
<tr><td>
|
|
759
|
+
|
|
760
|
+
[restart()](./server.particleemitter.restart.md)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
</td><td>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
</td><td>
|
|
767
|
+
|
|
768
|
+
Restarts the particle emission if it was previously stopped. Internally, this sets the rate to the value it was before being stopped.
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
</td></tr>
|
|
772
|
+
<tr><td>
|
|
773
|
+
|
|
774
|
+
[setAlphaTest(alphaTest)](./server.particleemitter.setalphatest.md)
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
</td><td>
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
</td><td>
|
|
781
|
+
|
|
782
|
+
Sets the alpha test value, discards particle texture pixels with alpha opacity less than this value.
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
</td></tr>
|
|
786
|
+
<tr><td>
|
|
787
|
+
|
|
788
|
+
[setAttachedToEntity(entity)](./server.particleemitter.setattachedtoentity.md)
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
</td><td>
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
</td><td>
|
|
795
|
+
|
|
796
|
+
Sets the entity to which the ParticleEmitter is attached.
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
</td></tr>
|
|
800
|
+
<tr><td>
|
|
801
|
+
|
|
802
|
+
[setAttachedToEntityNodeName(attachedToEntityNodeName)](./server.particleemitter.setattachedtoentitynodename.md)
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
</td><td>
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
</td><td>
|
|
809
|
+
|
|
810
|
+
Sets the name of the node of the attached entity (if the attached entity is a model entity) to attach the particle emitter to.
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
</td></tr>
|
|
814
|
+
<tr><td>
|
|
815
|
+
|
|
816
|
+
[setColorEnd(colorEnd)](./server.particleemitter.setcolorend.md)
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
</td><td>
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
</td><td>
|
|
823
|
+
|
|
824
|
+
Sets the color of an emitted particle at the end of its lifetime.
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
</td></tr>
|
|
828
|
+
<tr><td>
|
|
829
|
+
|
|
830
|
+
[setColorEndVariance(colorEndVariance)](./server.particleemitter.setcolorendvariance.md)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
</td><td>
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
</td><td>
|
|
837
|
+
|
|
838
|
+
Sets the color variance of an emitted particle at the end of its lifetime.
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
</td></tr>
|
|
842
|
+
<tr><td>
|
|
843
|
+
|
|
844
|
+
[setColorStart(colorStart)](./server.particleemitter.setcolorstart.md)
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
</td><td>
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
</td><td>
|
|
851
|
+
|
|
852
|
+
Sets the color of an emitted particle at the start of its lifetime.
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
</td></tr>
|
|
856
|
+
<tr><td>
|
|
857
|
+
|
|
858
|
+
[setColorStartVariance(colorStartVariance)](./server.particleemitter.setcolorstartvariance.md)
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
</td><td>
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
</td><td>
|
|
865
|
+
|
|
866
|
+
Sets the color variance of an emitted particle at the start of its lifetime.
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
</td></tr>
|
|
870
|
+
<tr><td>
|
|
871
|
+
|
|
872
|
+
[setGravity(gravity)](./server.particleemitter.setgravity.md)
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
</td><td>
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
</td><td>
|
|
879
|
+
|
|
880
|
+
Sets the gravity vector for an emitted particle.
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
</td></tr>
|
|
884
|
+
<tr><td>
|
|
885
|
+
|
|
886
|
+
[setLifetime(lifetime)](./server.particleemitter.setlifetime.md)
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
</td><td>
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
</td><td>
|
|
893
|
+
|
|
894
|
+
Sets the lifetime of an emitted particle in seconds.
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
</td></tr>
|
|
898
|
+
<tr><td>
|
|
899
|
+
|
|
900
|
+
[setLifetimeVariance(lifetimeVariance)](./server.particleemitter.setlifetimevariance.md)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
</td><td>
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
</td><td>
|
|
907
|
+
|
|
908
|
+
Sets the lifetime variance of an emitted particle in seconds.
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
</td></tr>
|
|
912
|
+
<tr><td>
|
|
913
|
+
|
|
914
|
+
[setMaxParticles(maxParticles)](./server.particleemitter.setmaxparticles.md)
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
</td><td>
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
</td><td>
|
|
921
|
+
|
|
922
|
+
Sets the maximum number of live particles.
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
</td></tr>
|
|
926
|
+
<tr><td>
|
|
927
|
+
|
|
928
|
+
[setOffset(offset)](./server.particleemitter.setoffset.md)
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
</td><td>
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
</td><td>
|
|
935
|
+
|
|
936
|
+
Sets the offset of the particle emitter from the attached entity or position.
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
</td></tr>
|
|
940
|
+
<tr><td>
|
|
941
|
+
|
|
942
|
+
[setOpacityEnd(opacityEnd)](./server.particleemitter.setopacityend.md)
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
</td><td>
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
</td><td>
|
|
949
|
+
|
|
950
|
+
Sets the opacity of an emitted particle at the end of its lifetime.
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
</td></tr>
|
|
954
|
+
<tr><td>
|
|
955
|
+
|
|
956
|
+
[setOpacityEndVariance(opacityEndVariance)](./server.particleemitter.setopacityendvariance.md)
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
</td><td>
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
</td><td>
|
|
963
|
+
|
|
964
|
+
Sets the opacity variance of an emitted particle at the end of its lifetime.
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
</td></tr>
|
|
968
|
+
<tr><td>
|
|
969
|
+
|
|
970
|
+
[setOpacityStart(opacityStart)](./server.particleemitter.setopacitystart.md)
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
</td><td>
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
</td><td>
|
|
977
|
+
|
|
978
|
+
Sets the opacity of an emitted particle at the start of its lifetime.
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
</td></tr>
|
|
982
|
+
<tr><td>
|
|
983
|
+
|
|
984
|
+
[setOpacityStartVariance(opacityStartVariance)](./server.particleemitter.setopacitystartvariance.md)
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
</td><td>
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
</td><td>
|
|
991
|
+
|
|
992
|
+
Sets the opacity variance of an emitted particle at the start of its lifetime.
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
</td></tr>
|
|
996
|
+
<tr><td>
|
|
997
|
+
|
|
998
|
+
[setPosition(position)](./server.particleemitter.setposition.md)
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
</td><td>
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
</td><td>
|
|
1005
|
+
|
|
1006
|
+
Sets the position of the particle emitter.
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
</td></tr>
|
|
1010
|
+
<tr><td>
|
|
1011
|
+
|
|
1012
|
+
[setPositionVariance(positionVariance)](./server.particleemitter.setpositionvariance.md)
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
</td><td>
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
</td><td>
|
|
1019
|
+
|
|
1020
|
+
Sets the position variance of an emitted particle.
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
</td></tr>
|
|
1024
|
+
<tr><td>
|
|
1025
|
+
|
|
1026
|
+
[setRate(rate)](./server.particleemitter.setrate.md)
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
</td><td>
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
</td><td>
|
|
1033
|
+
|
|
1034
|
+
Sets the rate per second at which particles are emitted.
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
</td></tr>
|
|
1038
|
+
<tr><td>
|
|
1039
|
+
|
|
1040
|
+
[setRateVariance(rateVariance)](./server.particleemitter.setratevariance.md)
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
</td><td>
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
</td><td>
|
|
1047
|
+
|
|
1048
|
+
Sets the rate variance of the particle emission rate.
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
</td></tr>
|
|
1052
|
+
<tr><td>
|
|
1053
|
+
|
|
1054
|
+
[setSize(size)](./server.particleemitter.setsize.md)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
</td><td>
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
</td><td>
|
|
1061
|
+
|
|
1062
|
+
Sets the size of an emitted particle.
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
</td></tr>
|
|
1066
|
+
<tr><td>
|
|
1067
|
+
|
|
1068
|
+
[setSizeVariance(sizeVariance)](./server.particleemitter.setsizevariance.md)
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
</td><td>
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
</td><td>
|
|
1075
|
+
|
|
1076
|
+
Sets the size variance of an emitted particle.
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
</td></tr>
|
|
1080
|
+
<tr><td>
|
|
1081
|
+
|
|
1082
|
+
[setTextureUri(textureUri)](./server.particleemitter.settextureuri.md)
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
</td><td>
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
</td><td>
|
|
1089
|
+
|
|
1090
|
+
Sets the texture URI of the particles emitted.
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
</td></tr>
|
|
1094
|
+
<tr><td>
|
|
1095
|
+
|
|
1096
|
+
[setTransparent(transparent)](./server.particleemitter.settransparent.md)
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
</td><td>
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
</td><td>
|
|
1103
|
+
|
|
1104
|
+
Sets the transparency of the particle emitter.
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
</td></tr>
|
|
1108
|
+
<tr><td>
|
|
1109
|
+
|
|
1110
|
+
[setVelocity(velocity)](./server.particleemitter.setvelocity.md)
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
</td><td>
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
</td><td>
|
|
1117
|
+
|
|
1118
|
+
Sets the velocity of an emitted particle.
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
</td></tr>
|
|
1122
|
+
<tr><td>
|
|
1123
|
+
|
|
1124
|
+
[setVelocityVariance(velocityVariance)](./server.particleemitter.setvelocityvariance.md)
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
</td><td>
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
</td><td>
|
|
1131
|
+
|
|
1132
|
+
Sets the velocity variance of an emitted particle.
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
</td></tr>
|
|
1136
|
+
<tr><td>
|
|
1137
|
+
|
|
1138
|
+
[spawn(world)](./server.particleemitter.spawn.md)
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
</td><td>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
</td><td>
|
|
1145
|
+
|
|
1146
|
+
Spawns the ParticleEmitter in the world.
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
</td></tr>
|
|
1150
|
+
<tr><td>
|
|
1151
|
+
|
|
1152
|
+
[stop()](./server.particleemitter.stop.md)
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
</td><td>
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
</td><td>
|
|
1159
|
+
|
|
1160
|
+
Stops the particle emission if it was previously started. Internally, this sets the rate to 0.
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
</td></tr>
|
|
1164
|
+
</tbody></table>
|