Effect
An Entity can have a single physical representation. ParticleSystem can be turned on and off with active (which is distinct to entity visible flag). Effect derives from Entity so if you have a Effect you can do any of these functions as well as the functions in Entity. You can do entity:IsA(Effect) to see if a particular entity variable is a Effect type entity.
Parameters
Parameter Name |
Usage |
Description |
Notes |
active |
bool active |
Set whether the particle system is emitting particles or not. |
|
effect |
EffectAsset effect |
EffectAsset on this entity |
|
assetProperties |
Properties assetProperties |
Dynamic list of properties for modifying the EffectAsset used on this entity |
|
Overrides
Override Name |
Usage |
Description |
Notes |
new_index |
effect.var = object value |
|
|