Music.MinDistance Property

SFML.Net

MusicMinDistance Property
Minimum distance of the music. The "minimum distance" of a sound is the maximum distance at which it is heard at its maximum volume. Further than the minimum distance, it will start to fade out according to its attenuation factor. A value of 0 ("inside the head of the listener") is an invalid value and is forbidden. The default value of the minimum distance is 1.

Namespace: SFML.Audio
Assembly: sfmlnet-audio-2 (in sfmlnet-audio-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public float MinDistance { get; set; }
Public Property MinDistance As Single
	Get
	Set
public:
property float MinDistance {
	float get ();
	void set (float value);
}
member MinDistance : float32 with get, set

Property Value

Type: Single
See Also