Skip to content

ParticleEmitterComponent.VelocityInheritance Property

Definition

Namespace: Brine2D.Systems.Rendering

Fraction of the emitter entity's instantaneous velocity \(units/second\) added to each newly-spawned particle's velocity at birth. 0 \(default\) means no inheritance. 1 means full inheritance. Only applied when the emitter has a TransformComponent.

When SimulateInLocalSpace is true the inherited velocity is still computed from the entity's world-space motion so particles correctly carry the entity's momentum.

C#
public float VelocityInheritance { get; set; }

Property Value

System.Single