Skip to content

ParticleEmitterComponent.ResetToDefaultState() Method

Definition

Namespace: Brine2D.Systems.Rendering

Restores the configuration that was captured by the last call to CaptureDefaultState(). Throws if CaptureDefaultState() has never been called. Live particles are scheduled for pool return on the next system update. IsPaused is always reset to false.

C#
public void ResetToDefaultState();

Exceptions

System.InvalidOperationException
Thrown when CaptureDefaultState() has never been called on this emitter.