sf.Listener Class Reference

Listener is a global interface for defining the audio listener properties ; the audio listener is the point in the scene from where all the sounds are heard.

Static methods

GetGlobalVolume()
Get the current value of the global volume of all the sounds.
GetPosition()
Get the current position of the listener.
GetTarget()
Get the current orientation of the listener (the point he's looking at)
SetGlobalVolume(Volume)
Change the global volume of all the sounds.
SetPosition(X, Y, Z)
Change the position of the listener.
SetTarget(X, Y, Z)
Change the orientation of the listener (the point he must look at)