Skip to content

SubEmitterConfig.InitialVelocity Property

Definition

Namespace: Brine2D.Systems.Rendering

Base velocity given to each sub-particle. VelocitySpread randomises the direction; a zero vector combined with a non-zero spread produces an omnidirectional burst.

Always world-space. Unlike Brine2D.Systems.Rendering.ParticleEmitterComponent.InitialVelocity, this vector is never rotated by an entity's Rotation because sub-emitters have no entity context. Sub-particles always spray in the configured world direction regardless of the orientation of the entity that owns the parent emitter.

C#
public System.Numerics.Vector2 InitialVelocity { get; set; }

Property Value

System.Numerics.Vector2