The table's per-event entries, one per event the system reacts to.
VfxDynamicParametersData
Class Documentation
Edit documentationAn event-driven override table for a running particle system, attached to
VfxSystemDefinitionData through its
DynamicParameterData property. It lets a system change individual emitter
parameters part-way through its life instead of fixing them at spawn.
The table is keyed in three levels: one entry per event, inside it a map from emitter to the parameters that emitter changes, and inside that a map from parameter selector to the override supplying the new value. When an event fires, every override beneath it is installed on the live system, and each stays in force until something replaces it.
Emitters are addressed by the FNV-1a-32 hash of their
emitterName, not by position in
the system's emitter lists, so reordering the lists does not break an entry but
renaming an emitter does.
The parameter selector is a small integer:
| Value | Parameter overridden |
|---|---|
1 |
Particle scale, and the linger scale while a particle is lingering. Also applied at emitter level, ahead of the emitter's flex scale. |
2 |
UvScale of the emitter's main texture. |
3 |
UvScale of the emitter's TextureMult layer. |
4 |
Emission rate, in particles per second. |
5 |
Particle lifetime. |
6 |
Birth velocity. |
An override stores no finished value. It carries a chain of modifiers applied in order to a four-component vector, and the folded result is what gets installed.