hytopia 0.14.32 → 0.14.34
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/docs/server.eventpayloads.md +2 -2
- package/docs/server.md +0 -66
- package/docs/server.particleemitter.colorintensityend.md +13 -0
- package/docs/server.particleemitter.colorintensityendvariance.md +13 -0
- package/docs/server.particleemitter.colorintensitystart.md +13 -0
- package/docs/server.particleemitter.colorintensitystartvariance.md +13 -0
- package/docs/server.particleemitter.md +140 -0
- package/docs/server.particleemitter.setcolorintensityend.md +53 -0
- package/docs/server.particleemitter.setcolorintensityendvariance.md +53 -0
- package/docs/server.particleemitter.setcolorintensitystart.md +53 -0
- package/docs/server.particleemitter.setcolorintensitystartvariance.md +53 -0
- package/docs/server.particleemitterevent.md +56 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_end_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_end_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_start_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_start_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +76 -0
- package/docs/server.particleemitteroptions.colorintensityend.md +13 -0
- package/docs/server.particleemitteroptions.colorintensityendvariance.md +13 -0
- package/docs/server.particleemitteroptions.colorintensitystart.md +13 -0
- package/docs/server.particleemitteroptions.colorintensitystartvariance.md +13 -0
- package/docs/server.particleemitteroptions.md +76 -0
- package/docs/server.playerui.append.md +57 -0
- package/docs/server.playerui.load.md +6 -2
- package/docs/server.playerui.md +15 -1
- package/docs/server.playeruievent.md +14 -0
- package/docs/server.playeruieventpayloads._player_ui.append_.md +16 -0
- package/docs/server.playeruieventpayloads.md +19 -0
- package/docs/server.world.md +0 -21
- package/package.json +1 -1
- package/server.api.json +799 -2544
- package/server.d.ts +91 -299
- package/server.mjs +108 -108
- package/docs/server.light._constructor_.md +0 -49
- package/docs/server.light.angle.md +0 -13
- package/docs/server.light.attachedtoentity.md +0 -13
- package/docs/server.light.color.md +0 -13
- package/docs/server.light.despawn.md +0 -17
- package/docs/server.light.distance.md +0 -13
- package/docs/server.light.id.md +0 -13
- package/docs/server.light.intensity.md +0 -13
- package/docs/server.light.isspawned.md +0 -13
- package/docs/server.light.md +0 -579
- package/docs/server.light.offset.md +0 -13
- package/docs/server.light.penumbra.md +0 -13
- package/docs/server.light.position.md +0 -13
- package/docs/server.light.setangle.md +0 -53
- package/docs/server.light.setattachedtoentity.md +0 -53
- package/docs/server.light.setcolor.md +0 -53
- package/docs/server.light.setdistance.md +0 -53
- package/docs/server.light.setintensity.md +0 -53
- package/docs/server.light.setoffset.md +0 -53
- package/docs/server.light.setpenumbra.md +0 -53
- package/docs/server.light.setposition.md +0 -53
- package/docs/server.light.settrackedentity.md +0 -53
- package/docs/server.light.settrackedposition.md +0 -53
- package/docs/server.light.spawn.md +0 -53
- package/docs/server.light.trackedentity.md +0 -13
- package/docs/server.light.trackedposition.md +0 -13
- package/docs/server.light.type.md +0 -13
- package/docs/server.light.world.md +0 -13
- package/docs/server.lightevent.md +0 -201
- package/docs/server.lighteventpayloads._light.despawn_.md +0 -15
- package/docs/server.lighteventpayloads._light.set_angle_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_attached_to_entity_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_color_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_distance_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_intensity_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_offset_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_penumbra_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_position_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_tracked_entity_.md +0 -16
- package/docs/server.lighteventpayloads._light.set_tracked_position_.md +0 -16
- package/docs/server.lighteventpayloads._light.spawn_.md +0 -15
- package/docs/server.lighteventpayloads.md +0 -266
- package/docs/server.lightmanager.getallentityattachedlights.md +0 -55
- package/docs/server.lightmanager.getalllights.md +0 -19
- package/docs/server.lightmanager.md +0 -113
- package/docs/server.lightmanager.world.md +0 -13
- package/docs/server.lightoptions.angle.md +0 -13
- package/docs/server.lightoptions.attachedtoentity.md +0 -13
- package/docs/server.lightoptions.color.md +0 -13
- package/docs/server.lightoptions.distance.md +0 -13
- package/docs/server.lightoptions.intensity.md +0 -13
- package/docs/server.lightoptions.md +0 -247
- package/docs/server.lightoptions.offset.md +0 -13
- package/docs/server.lightoptions.penumbra.md +0 -13
- package/docs/server.lightoptions.position.md +0 -13
- package/docs/server.lightoptions.trackedentity.md +0 -13
- package/docs/server.lightoptions.trackedposition.md +0 -13
- package/docs/server.lightoptions.type.md +0 -13
- package/docs/server.lighttype.md +0 -61
- package/docs/server.world.lightmanager.md +0 -13
|
@@ -9,7 +9,7 @@ The payloads for all events in the game server.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads,
|
|
12
|
+
export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads
|
|
13
13
|
```
|
|
14
|
-
**Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)<!-- -->, ConnectionEventPayloads, [EntityEventPayloads](./server.entityeventpayloads.md)<!-- -->, [GameServerEventPayloads](./server.gameservereventpayloads.md)<!-- -->, [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->, [PlayerCameraEventPayloads](./server.playercameraeventpayloads.md)<!-- -->, [PlayerEventPayloads](./server.playereventpayloads.md)<!-- -->, [PlayerManagerEventPayloads](./server.playermanagereventpayloads.md)<!-- -->, [PlayerUIEventPayloads](./server.playeruieventpayloads.md)<!-- -->, [SceneUIEventPayloads](./server.sceneuieventpayloads.md)<!-- -->, [SimulationEventPayloads](./server.simulationeventpayloads.md)<!-- -->,
|
|
14
|
+
**Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)<!-- -->, ConnectionEventPayloads, [EntityEventPayloads](./server.entityeventpayloads.md)<!-- -->, [GameServerEventPayloads](./server.gameservereventpayloads.md)<!-- -->, [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->, [PlayerCameraEventPayloads](./server.playercameraeventpayloads.md)<!-- -->, [PlayerEventPayloads](./server.playereventpayloads.md)<!-- -->, [PlayerManagerEventPayloads](./server.playermanagereventpayloads.md)<!-- -->, [PlayerUIEventPayloads](./server.playeruieventpayloads.md)<!-- -->, [SceneUIEventPayloads](./server.sceneuieventpayloads.md)<!-- -->, [SimulationEventPayloads](./server.simulationeventpayloads.md)<!-- -->, WebServerEventPayloads, [WorldEventPayloads](./server.worldeventpayloads.md)<!-- -->, [WorldLoopEventPayloads](./server.worldloopeventpayloads.md)<!-- -->, [WorldManagerEventPayloads](./server.worldmanagereventpayloads.md)
|
|
15
15
|
|
package/docs/server.md
CHANGED
|
@@ -236,28 +236,6 @@ Manages the game and associated worlds and systems.
|
|
|
236
236
|
A high-performance Map-like data structure optimized for frequent iteration.
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
</td></tr>
|
|
240
|
-
<tr><td>
|
|
241
|
-
|
|
242
|
-
[Light](./server.light.md)
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
</td><td>
|
|
246
|
-
|
|
247
|
-
Represents a light in a world. Lights can be point lights or spotlights.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
</td></tr>
|
|
251
|
-
<tr><td>
|
|
252
|
-
|
|
253
|
-
[LightManager](./server.lightmanager.md)
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
</td><td>
|
|
257
|
-
|
|
258
|
-
Manages Light instances in a world.
|
|
259
|
-
|
|
260
|
-
|
|
261
239
|
</td></tr>
|
|
262
240
|
<tr><td>
|
|
263
241
|
|
|
@@ -695,28 +673,6 @@ Event types an Entity instance can emit. See [EntityEventPayloads](./server.enti
|
|
|
695
673
|
Event types a GameServer instance can emit to the global event router. See [GameServerEventPayloads](./server.gameservereventpayloads.md) for the payloads.
|
|
696
674
|
|
|
697
675
|
|
|
698
|
-
</td></tr>
|
|
699
|
-
<tr><td>
|
|
700
|
-
|
|
701
|
-
[LightEvent](./server.lightevent.md)
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
</td><td>
|
|
705
|
-
|
|
706
|
-
Event types a Light instance can emit. See [LightEventPayloads](./server.lighteventpayloads.md) for the payloads.
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
</td></tr>
|
|
710
|
-
<tr><td>
|
|
711
|
-
|
|
712
|
-
[LightType](./server.lighttype.md)
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
</td><td>
|
|
716
|
-
|
|
717
|
-
The types a Light can be.
|
|
718
|
-
|
|
719
|
-
|
|
720
676
|
</td></tr>
|
|
721
677
|
<tr><td>
|
|
722
678
|
|
|
@@ -1176,28 +1132,6 @@ The options for a kinematic position rigid body.
|
|
|
1176
1132
|
The options for a kinematic velocity rigid body.
|
|
1177
1133
|
|
|
1178
1134
|
|
|
1179
|
-
</td></tr>
|
|
1180
|
-
<tr><td>
|
|
1181
|
-
|
|
1182
|
-
[LightEventPayloads](./server.lighteventpayloads.md)
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
</td><td>
|
|
1186
|
-
|
|
1187
|
-
Event payloads for Light emitted events.
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
</td></tr>
|
|
1191
|
-
<tr><td>
|
|
1192
|
-
|
|
1193
|
-
[LightOptions](./server.lightoptions.md)
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
</td><td>
|
|
1197
|
-
|
|
1198
|
-
Options for creating a Light instance.
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
1135
|
</td></tr>
|
|
1202
1136
|
<tr><td>
|
|
1203
1137
|
|
|
@@ -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) > [colorIntensityEnd](./server.particleemitter.colorintensityend.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.colorIntensityEnd property
|
|
6
|
+
|
|
7
|
+
The color intensity of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get colorIntensityEnd(): 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) > [colorIntensityEndVariance](./server.particleemitter.colorintensityendvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.colorIntensityEndVariance property
|
|
6
|
+
|
|
7
|
+
The color intensity variance of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get colorIntensityEndVariance(): 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) > [colorIntensityStart](./server.particleemitter.colorintensitystart.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.colorIntensityStart property
|
|
6
|
+
|
|
7
|
+
The color intensity of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get colorIntensityStart(): 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) > [colorIntensityStartVariance](./server.particleemitter.colorintensitystartvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.colorIntensityStartVariance property
|
|
6
|
+
|
|
7
|
+
The color intensity variance of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get colorIntensityStartVariance(): number | undefined;
|
|
13
|
+
```
|
|
@@ -195,6 +195,90 @@ The color of an emitted particle at the end of its lifetime.
|
|
|
195
195
|
The color variance of an emitted particle at the end of its lifetime.
|
|
196
196
|
|
|
197
197
|
|
|
198
|
+
</td></tr>
|
|
199
|
+
<tr><td>
|
|
200
|
+
|
|
201
|
+
[colorIntensityEnd](./server.particleemitter.colorintensityend.md)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td><td>
|
|
205
|
+
|
|
206
|
+
`readonly`
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td><td>
|
|
210
|
+
|
|
211
|
+
number \| undefined
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</td><td>
|
|
215
|
+
|
|
216
|
+
The color intensity of an emitted particle at the end of its lifetime.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
</td></tr>
|
|
220
|
+
<tr><td>
|
|
221
|
+
|
|
222
|
+
[colorIntensityEndVariance](./server.particleemitter.colorintensityendvariance.md)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</td><td>
|
|
226
|
+
|
|
227
|
+
`readonly`
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
</td><td>
|
|
231
|
+
|
|
232
|
+
number \| undefined
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
</td><td>
|
|
236
|
+
|
|
237
|
+
The color intensity variance of an emitted particle at the end of its lifetime.
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</td></tr>
|
|
241
|
+
<tr><td>
|
|
242
|
+
|
|
243
|
+
[colorIntensityStart](./server.particleemitter.colorintensitystart.md)
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</td><td>
|
|
247
|
+
|
|
248
|
+
`readonly`
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</td><td>
|
|
252
|
+
|
|
253
|
+
number \| undefined
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</td><td>
|
|
257
|
+
|
|
258
|
+
The color intensity of an emitted particle at the start of its lifetime.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
</td></tr>
|
|
262
|
+
<tr><td>
|
|
263
|
+
|
|
264
|
+
[colorIntensityStartVariance](./server.particleemitter.colorintensitystartvariance.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 color intensity variance of an emitted particle at the start of its lifetime.
|
|
280
|
+
|
|
281
|
+
|
|
198
282
|
</td></tr>
|
|
199
283
|
<tr><td>
|
|
200
284
|
|
|
@@ -915,6 +999,62 @@ Sets the color of an emitted particle at the end of its lifetime.
|
|
|
915
999
|
Sets the color variance of an emitted particle at the end of its lifetime.
|
|
916
1000
|
|
|
917
1001
|
|
|
1002
|
+
</td></tr>
|
|
1003
|
+
<tr><td>
|
|
1004
|
+
|
|
1005
|
+
[setColorIntensityEnd(colorIntensityEnd)](./server.particleemitter.setcolorintensityend.md)
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
</td><td>
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
</td><td>
|
|
1012
|
+
|
|
1013
|
+
Sets the color intensity of an emitted particle at the end of its lifetime.
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
</td></tr>
|
|
1017
|
+
<tr><td>
|
|
1018
|
+
|
|
1019
|
+
[setColorIntensityEndVariance(colorIntensityEndVariance)](./server.particleemitter.setcolorintensityendvariance.md)
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
</td><td>
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
</td><td>
|
|
1026
|
+
|
|
1027
|
+
Sets the color intensity variance of an emitted particle at the end of its lifetime.
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
</td></tr>
|
|
1031
|
+
<tr><td>
|
|
1032
|
+
|
|
1033
|
+
[setColorIntensityStart(colorIntensityStart)](./server.particleemitter.setcolorintensitystart.md)
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
</td><td>
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
</td><td>
|
|
1040
|
+
|
|
1041
|
+
Sets the color intensity of an emitted particle at the start of its lifetime.
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
</td></tr>
|
|
1045
|
+
<tr><td>
|
|
1046
|
+
|
|
1047
|
+
[setColorIntensityStartVariance(colorIntensityStartVariance)](./server.particleemitter.setcolorintensitystartvariance.md)
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
</td><td>
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
</td><td>
|
|
1054
|
+
|
|
1055
|
+
Sets the color intensity variance of an emitted particle at the start of its lifetime.
|
|
1056
|
+
|
|
1057
|
+
|
|
918
1058
|
</td></tr>
|
|
919
1059
|
<tr><td>
|
|
920
1060
|
|
|
@@ -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) > [setColorIntensityEnd](./server.particleemitter.setcolorintensityend.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setColorIntensityEnd() method
|
|
6
|
+
|
|
7
|
+
Sets the color intensity of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setColorIntensityEnd(colorIntensityEnd: number): 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
|
+
colorIntensityEnd
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
number
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The color intensity at the end of lifetime. Values greater than 1 create HDR/bloom effects.
|
|
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) > [setColorIntensityEndVariance](./server.particleemitter.setcolorintensityendvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setColorIntensityEndVariance() method
|
|
6
|
+
|
|
7
|
+
Sets the color intensity variance of an emitted particle at the end of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setColorIntensityEndVariance(colorIntensityEndVariance: number): 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
|
+
colorIntensityEndVariance
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
number
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The color intensity variance at the end of lifetime.
|
|
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) > [setColorIntensityStart](./server.particleemitter.setcolorintensitystart.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setColorIntensityStart() method
|
|
6
|
+
|
|
7
|
+
Sets the color intensity of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setColorIntensityStart(colorIntensityStart: number): 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
|
+
colorIntensityStart
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
number
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The color intensity at the start of lifetime. Values greater than 1 create HDR/bloom effects.
|
|
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) > [setColorIntensityStartVariance](./server.particleemitter.setcolorintensitystartvariance.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setColorIntensityStartVariance() method
|
|
6
|
+
|
|
7
|
+
Sets the color intensity variance of an emitted particle at the start of its lifetime.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setColorIntensityStartVariance(colorIntensityStartVariance: number): 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
|
+
colorIntensityStartVariance
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
number
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The color intensity variance at the start of lifetime.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|
|
@@ -127,6 +127,62 @@ SET\_COLOR\_END\_VARIANCE
|
|
|
127
127
|
</td><td>
|
|
128
128
|
|
|
129
129
|
|
|
130
|
+
</td></tr>
|
|
131
|
+
<tr><td>
|
|
132
|
+
|
|
133
|
+
SET\_COLOR\_INTENSITY\_END
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</td><td>
|
|
137
|
+
|
|
138
|
+
`"PARTICLE_EMITTER.SET_COLOR_INTENSITY_END"`
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</td><td>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</td></tr>
|
|
145
|
+
<tr><td>
|
|
146
|
+
|
|
147
|
+
SET\_COLOR\_INTENSITY\_END\_VARIANCE
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
</td><td>
|
|
151
|
+
|
|
152
|
+
`"PARTICLE_EMITTER.SET_COLOR_INTENSITY_END_VARIANCE"`
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</td><td>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
</td></tr>
|
|
159
|
+
<tr><td>
|
|
160
|
+
|
|
161
|
+
SET\_COLOR\_INTENSITY\_START
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
</td><td>
|
|
165
|
+
|
|
166
|
+
`"PARTICLE_EMITTER.SET_COLOR_INTENSITY_START"`
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
</td><td>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
</td></tr>
|
|
173
|
+
<tr><td>
|
|
174
|
+
|
|
175
|
+
SET\_COLOR\_INTENSITY\_START\_VARIANCE
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</td><td>
|
|
179
|
+
|
|
180
|
+
`"PARTICLE_EMITTER.SET_COLOR_INTENSITY_START_VARIANCE"`
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
</td><td>
|
|
184
|
+
|
|
185
|
+
|
|
130
186
|
</td></tr>
|
|
131
187
|
<tr><td>
|
|
132
188
|
|
package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_end_.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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.SET\_COLOR\_INTENSITY\_END"](./server.particleemittereventpayloads._particle_emitter.set_color_intensity_end_.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_COLOR\_INTENSITY\_END" property
|
|
6
|
+
|
|
7
|
+
Emitted when the color intensity of an emitted particle at the end of its lifetime is set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ParticleEmitterEvent.SET_COLOR_INTENSITY_END]: {
|
|
13
|
+
particleEmitter: ParticleEmitter;
|
|
14
|
+
colorIntensityEnd: number;
|
|
15
|
+
};
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
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.SET\_COLOR\_INTENSITY\_END\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_color_intensity_end_variance_.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_COLOR\_INTENSITY\_END\_VARIANCE" property
|
|
6
|
+
|
|
7
|
+
Emitted when the color intensity variance of an emitted particle at the end of its lifetime is set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ParticleEmitterEvent.SET_COLOR_INTENSITY_END_VARIANCE]: {
|
|
13
|
+
particleEmitter: ParticleEmitter;
|
|
14
|
+
colorIntensityEndVariance: number;
|
|
15
|
+
};
|
|
16
|
+
```
|
package/docs/server.particleemittereventpayloads._particle_emitter.set_color_intensity_start_.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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.SET\_COLOR\_INTENSITY\_START"](./server.particleemittereventpayloads._particle_emitter.set_color_intensity_start_.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_COLOR\_INTENSITY\_START" property
|
|
6
|
+
|
|
7
|
+
Emitted when the color intensity of an emitted particle at the start of its lifetime is set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ParticleEmitterEvent.SET_COLOR_INTENSITY_START]: {
|
|
13
|
+
particleEmitter: ParticleEmitter;
|
|
14
|
+
colorIntensityStart: number;
|
|
15
|
+
};
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
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.SET\_COLOR\_INTENSITY\_START\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_color_intensity_start_variance_.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_COLOR\_INTENSITY\_START\_VARIANCE" property
|
|
6
|
+
|
|
7
|
+
Emitted when the color intensity variance of an emitted particle at the start of its lifetime is set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ParticleEmitterEvent.SET_COLOR_INTENSITY_START_VARIANCE]: {
|
|
13
|
+
particleEmitter: ParticleEmitter;
|
|
14
|
+
colorIntensityStartVariance: number;
|
|
15
|
+
};
|
|
16
|
+
```
|