Skip to content

ParticleEmitterComponent.Forces Property

Definition

Namespace: Brine2D.Systems.Rendering

Optional list of extra forces \(attractors, wind zones, etc\.\) applied to every live particle during the update pass. Forces are evaluated in order and their results are summed into BaseVelocity, making them subject to subsequent damping and speed-over-lifetime scaling.

This list is not captured by CaptureDefaultState() because force objects are typically configured once and shared across resets.

C#
public System.Collections.Generic.List<Brine2D.Systems.Rendering.IParticleForce>? Forces { get; set; }

Property Value

System.Collections.Generic.List<IParticleForce>