maxPoolSize property

int maxPoolSize
final

Hard ceiling on live + dead particles retained by this emitter.

Overlapping bursts (e.g. rapid taps) accumulate particles so older ones keep animating. When the pool would exceed this, the oldest particles are reclaimed for the new burst. Must be >= particleCount. Defaults to 500.

Implementation

final int maxPoolSize;