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,53 @@
|
|
|
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) > [setVelocity](./server.particleemitter.setvelocity.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setVelocity() method
|
|
6
|
+
|
|
7
|
+
Sets the velocity of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setVelocity(velocity: Vector3Like): void;
|
|
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
|
+
velocity
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The velocity of an emitted particle.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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) > [setVelocityVariance](./server.particleemitter.setvelocityvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setVelocityVariance() method
|
|
6
|
+
|
|
7
|
+
Sets the velocity variance of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setVelocityVariance(velocityVariance: Vector3Like): void;
|
|
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
|
+
velocityVariance
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The velocity variance of an emitted particle.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [size](./server.particleemitter.size.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.size property
|
|
6
|
+
|
|
7
|
+
The size of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get size(): number | undefined;
|
|
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) > [ParticleEmitter](./server.particleemitter.md) > [sizeVariance](./server.particleemitter.sizevariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.sizeVariance property
|
|
6
|
+
|
|
7
|
+
The size variance of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get sizeVariance(): number | undefined;
|
|
13
|
+
```
|
|
@@ -0,0 +1,53 @@
|
|
|
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) > [spawn](./server.particleemitter.spawn.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.spawn() method
|
|
6
|
+
|
|
7
|
+
Spawns the ParticleEmitter in the world.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
spawn(world: World): void;
|
|
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
|
+
world
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[World](./server.world.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The world to spawn the ParticleEmitter in.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
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) > [stop](./server.particleemitter.stop.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.stop() method
|
|
6
|
+
|
|
7
|
+
Stops the particle emission if it was previously started. Internally, this sets the rate to 0.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
stop(): void;
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
void
|
|
17
|
+
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [textureUri](./server.particleemitter.textureuri.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.textureUri property
|
|
6
|
+
|
|
7
|
+
The URI or path to the texture to be used for the particles.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get 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) > [ParticleEmitter](./server.particleemitter.md) > [transparent](./server.particleemitter.transparent.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.transparent property
|
|
6
|
+
|
|
7
|
+
Whether an emitted particle is transparent, resulting in smoother transparency blending.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get transparent(): boolean | undefined;
|
|
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) > [ParticleEmitter](./server.particleemitter.md) > [velocity](./server.particleemitter.velocity.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.velocity property
|
|
6
|
+
|
|
7
|
+
The velocity of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get velocity(): Vector3Like | undefined;
|
|
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) > [ParticleEmitter](./server.particleemitter.md) > [velocityVariance](./server.particleemitter.velocityvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.velocityVariance property
|
|
6
|
+
|
|
7
|
+
The velocity variance of an emitted particle.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get velocityVariance(): Vector3Like | undefined;
|
|
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) > [ParticleEmitter](./server.particleemitter.md) > [world](./server.particleemitter.world.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.world property
|
|
6
|
+
|
|
7
|
+
The world the ParticleEmitter is in.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get world(): World | undefined;
|
|
13
|
+
```
|
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterEvent](./server.particleemitterevent.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEvent enum
|
|
6
|
+
|
|
7
|
+
Event types a ParticleEmitter instance can emit. See [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare enum ParticleEmitterEvent
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Member
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Value
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
DESPAWN
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
`"PARTICLE_EMITTER.DESPAWN"`
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td></tr>
|
|
47
|
+
<tr><td>
|
|
48
|
+
|
|
49
|
+
SET\_ALPHA\_TEST
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
`"PARTICLE_EMITTER.SET_ALPHA_TEST"`
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</td><td>
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td></tr>
|
|
61
|
+
<tr><td>
|
|
62
|
+
|
|
63
|
+
SET\_ATTACHED\_TO\_ENTITY
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</td><td>
|
|
67
|
+
|
|
68
|
+
`"PARTICLE_EMITTER.SET_ATTACHED_TO_ENTITY"`
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td><td>
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
</td></tr>
|
|
75
|
+
<tr><td>
|
|
76
|
+
|
|
77
|
+
SET\_COLOR\_END
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
</td><td>
|
|
81
|
+
|
|
82
|
+
`"PARTICLE_EMITTER.SET_COLOR_END"`
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
</td><td>
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
</td></tr>
|
|
89
|
+
<tr><td>
|
|
90
|
+
|
|
91
|
+
SET\_COLOR\_END\_VARIANCE
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td><td>
|
|
95
|
+
|
|
96
|
+
`"PARTICLE_EMITTER.SET_COLOR_END_VARIANCE"`
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</td><td>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</td></tr>
|
|
103
|
+
<tr><td>
|
|
104
|
+
|
|
105
|
+
SET\_COLOR\_START
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</td><td>
|
|
109
|
+
|
|
110
|
+
`"PARTICLE_EMITTER.SET_COLOR_START"`
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td><td>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</td></tr>
|
|
117
|
+
<tr><td>
|
|
118
|
+
|
|
119
|
+
SET\_COLOR\_START\_VARIANCE
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</td><td>
|
|
123
|
+
|
|
124
|
+
`"PARTICLE_EMITTER.SET_COLOR_START_VARIANCE"`
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
</td><td>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</td></tr>
|
|
131
|
+
<tr><td>
|
|
132
|
+
|
|
133
|
+
SET\_GRAVITY
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</td><td>
|
|
137
|
+
|
|
138
|
+
`"PARTICLE_EMITTER.SET_GRAVITY"`
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</td><td>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</td></tr>
|
|
145
|
+
<tr><td>
|
|
146
|
+
|
|
147
|
+
SET\_LIFETIME
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
</td><td>
|
|
151
|
+
|
|
152
|
+
`"PARTICLE_EMITTER.SET_LIFETIME"`
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</td><td>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
</td></tr>
|
|
159
|
+
<tr><td>
|
|
160
|
+
|
|
161
|
+
SET\_LIFETIME\_VARIANCE
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
</td><td>
|
|
165
|
+
|
|
166
|
+
`"PARTICLE_EMITTER.SET_LIFETIME_VARIANCE"`
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
</td><td>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
</td></tr>
|
|
173
|
+
<tr><td>
|
|
174
|
+
|
|
175
|
+
SET\_MAX\_PARTICLES
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</td><td>
|
|
179
|
+
|
|
180
|
+
`"PARTICLE_EMITTER.SET_MAX_PARTICLES"`
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
</td><td>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
</td></tr>
|
|
187
|
+
<tr><td>
|
|
188
|
+
|
|
189
|
+
SET\_OFFSET
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
</td><td>
|
|
193
|
+
|
|
194
|
+
`"PARTICLE_EMITTER.SET_OFFSET"`
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</td><td>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</td></tr>
|
|
201
|
+
<tr><td>
|
|
202
|
+
|
|
203
|
+
SET\_OPACITY\_END
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
</td><td>
|
|
207
|
+
|
|
208
|
+
`"PARTICLE_EMITTER.SET_OPACITY_END"`
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
</td><td>
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</td></tr>
|
|
215
|
+
<tr><td>
|
|
216
|
+
|
|
217
|
+
SET\_OPACITY\_END\_VARIANCE
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
</td><td>
|
|
221
|
+
|
|
222
|
+
`"PARTICLE_EMITTER.SET_OPACITY_END_VARIANCE"`
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</td><td>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
</td></tr>
|
|
229
|
+
<tr><td>
|
|
230
|
+
|
|
231
|
+
SET\_OPACITY\_START
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</td><td>
|
|
235
|
+
|
|
236
|
+
`"PARTICLE_EMITTER.SET_OPACITY_START"`
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
</td><td>
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
</td></tr>
|
|
243
|
+
<tr><td>
|
|
244
|
+
|
|
245
|
+
SET\_OPACITY\_START\_VARIANCE
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
</td><td>
|
|
249
|
+
|
|
250
|
+
`"PARTICLE_EMITTER.SET_OPACITY_START_VARIANCE"`
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
</td><td>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</td></tr>
|
|
257
|
+
<tr><td>
|
|
258
|
+
|
|
259
|
+
SET\_POSITION
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</td><td>
|
|
263
|
+
|
|
264
|
+
`"PARTICLE_EMITTER.SET_POSITION"`
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
</td><td>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
</td></tr>
|
|
271
|
+
<tr><td>
|
|
272
|
+
|
|
273
|
+
SET\_POSITION\_VARIANCE
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
</td><td>
|
|
277
|
+
|
|
278
|
+
`"PARTICLE_EMITTER.SET_POSITION_VARIANCE"`
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
</td><td>
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
</td></tr>
|
|
285
|
+
<tr><td>
|
|
286
|
+
|
|
287
|
+
SET\_RATE
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
</td><td>
|
|
291
|
+
|
|
292
|
+
`"PARTICLE_EMITTER.SET_RATE"`
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
</td><td>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
</td></tr>
|
|
299
|
+
<tr><td>
|
|
300
|
+
|
|
301
|
+
SET\_RATE\_VARIANCE
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
</td><td>
|
|
305
|
+
|
|
306
|
+
`"PARTICLE_EMITTER.SET_RATE_VARIANCE"`
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</td><td>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</td></tr>
|
|
313
|
+
<tr><td>
|
|
314
|
+
|
|
315
|
+
SET\_SIZE
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
</td><td>
|
|
319
|
+
|
|
320
|
+
`"PARTICLE_EMITTER.SET_SIZE"`
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
</td><td>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
</td></tr>
|
|
327
|
+
<tr><td>
|
|
328
|
+
|
|
329
|
+
SET\_SIZE\_VARIANCE
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
</td><td>
|
|
333
|
+
|
|
334
|
+
`"PARTICLE_EMITTER.SET_SIZE_VARIANCE"`
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</td><td>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
</td></tr>
|
|
341
|
+
<tr><td>
|
|
342
|
+
|
|
343
|
+
SET\_TEXTURE\_URI
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
</td><td>
|
|
347
|
+
|
|
348
|
+
`"PARTICLE_EMITTER.SET_TEXTURE_URI"`
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</td><td>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
</td></tr>
|
|
355
|
+
<tr><td>
|
|
356
|
+
|
|
357
|
+
SET\_TRANSPARENT
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
</td><td>
|
|
361
|
+
|
|
362
|
+
`"PARTICLE_EMITTER.SET_TRANSPARENT"`
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</td><td>
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
</td></tr>
|
|
369
|
+
<tr><td>
|
|
370
|
+
|
|
371
|
+
SET\_VELOCITY
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
</td><td>
|
|
375
|
+
|
|
376
|
+
`"PARTICLE_EMITTER.SET_VELOCITY"`
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
</td><td>
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
</td></tr>
|
|
383
|
+
<tr><td>
|
|
384
|
+
|
|
385
|
+
SET\_VELOCITY\_VARIANCE
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
</td><td>
|
|
389
|
+
|
|
390
|
+
`"PARTICLE_EMITTER.SET_VELOCITY_VARIANCE"`
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
</td><td>
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
</td></tr>
|
|
397
|
+
<tr><td>
|
|
398
|
+
|
|
399
|
+
SPAWN
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
</td><td>
|
|
403
|
+
|
|
404
|
+
`"PARTICLE_EMITTER.SPAWN"`
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
</td><td>
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
</td></tr>
|
|
411
|
+
</tbody></table>
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > ["PARTICLE\_EMITTER.DESPAWN"](./server.particleemittereventpayloads._particle_emitter.despawn_.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.DESPAWN" property
|
|
6
|
+
|
|
7
|
+
Emitted when a ParticleEmitter is despawned.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ParticleEmitterEvent.DESPAWN]: {
|
|
13
|
+
particleEmitter: ParticleEmitter;
|
|
14
|
+
};
|
|
15
|
+
```
|