Skip to content

SoundEffectSourceComponent.MaxDistance Property

Definition

Namespace: Brine2D.Systems.Audio

Maximum distance where sound becomes inaudible (volume = 0). Clamped to [0, ∞). Setting a value below MinDistance lowers MinDistance to match.

public float MaxDistance { get; set; }

Property Value

System.Single