SFML.Net
MusicAttenuation Property |
Attenuation factor of the music.
The attenuation is a multiplicative factor which makes
the music more or less loud according to its distance
from the listener. An attenuation of 0 will produce a
non-attenuated sound, i.e. its volume will always be the same
whether it is heard from near or from far. On the other hand,
an attenuation value such as 100 will make the sound fade out
very quickly as it gets further from the listener.
The default value of the attenuation is 1.
Namespace: SFML.Audio
Assembly: sfmlnet-audio-2 (in sfmlnet-audio-2.dll) Version: 2.2.0.0 (2.2.0)

public float Attenuation { get; set; }
Public Property Attenuation As Single Get Set
public: property float Attenuation { float get (); void set (float value); }
member Attenuation : float32 with get, set
Property Value
Type: Single