Skip to content

ParticleEmitterComponent.Loop Property

Definition

Namespace: Brine2D.Systems.Rendering

When true and Duration is set, the emitter automatically restarts its emission cycle once all particles from the previous cycle have expired. The delay is re-applied on each loop iteration. OnEmitterFinished does not fire while looping. Also works with burst emitters \([IsBurst](IsBurst.md 'Brine2D\.Systems\.Rendering\.ParticleEmitterComponent\.IsBurst') = true\): the burst re-arms and fires again after all particles from the previous burst have expired.

C#
public bool Loop { get; set; }

Property Value

System.Boolean