Skip to content

VfxLifetimeComponentBase

15.19 Interface

Class Documentation

Edit documentation

The lifetime slot of a VfxComponents graph. It owns emission: in each update it decides whether the emitter may still spawn and, while it may, returns the number of particles to spawn in that update. It also decides when each particle expires and when the emitter is finished.

The count is whole. The component applies its own per-update cap and the capacity of the primitive itself, and nothing after it changes the count. VfxSpawnBehavior describes how the phase-based component computes it.

It reports two times to the emitter: the start time, which the animation clock of the emitter's material counts from, and the emission duration, which counts toward the duration of the particle system.

While the component reports the emitter as finished, the client removes every remaining particle in each update. A particle system is finished only when each of its component emitters is finished.

Required: a graph without a lifetime component drops its emitter.

Referenced by 1 class · 1 property