SoundStream.RelativeToListener Property

SFML.Net

SoundStreamRelativeToListener Property
Make the stream's position relative to the listener or absolute. Making a sound relative to the listener will ensure that it will always be played the same way regardless the position of the listener. This can be useful for non-spatialized sounds, sounds that are produced by the listener, or sounds attached to it. The default value is false (position is absolute).

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

Property Value

Type: Boolean
See Also