SubEmitterConfig.MaxParticles Property
Definition
Namespace: Brine2D.Systems.Rendering
Hard cap on the total number of live sub-particles across \<em>all\</em> active SubEmitterState entries that share this config instance. When the cap is reached, new bursts for this config are skipped until existing sub-particles expire. Prevents runaway particle counts when the parent emitter's death rate is very high.
Important: the cap is enforced by reference equality on the config instance. If the same SubEmitterConfig object is assigned to multiple parent emitters (e.g. both their BirthSubEmitters and DeathSubEmitters lists, or across different entities), all of those emitters share this single cap. Bursts from any one of them count against the limit and can starve the others. Create a separate SubEmitterConfig instance per parent emitter if independent caps are needed.