25 #ifndef SFML_LISTENER_H 26 #define SFML_LISTENER_H 120 #endif // SFML_LISTENER_H 3-component vector of floats
CSFML_AUDIO_API sfVector3f sfListener_getPosition()
Get the current position of the listener in the scene.
CSFML_AUDIO_API void sfListener_setDirection(sfVector3f direction)
Set the orientation of the forward vector in the scene.
CSFML_AUDIO_API void sfListener_setUpVector(sfVector3f upVector)
Set the upward vector of the listener in the scene.
CSFML_AUDIO_API void sfListener_setGlobalVolume(float volume)
Change the global volume of all the sounds and musics.
CSFML_AUDIO_API sfVector3f sfListener_getDirection()
Get the current forward vector of the listener in the scene.
CSFML_AUDIO_API void sfListener_setPosition(sfVector3f position)
Set the position of the listener in the scene.
CSFML_AUDIO_API float sfListener_getGlobalVolume(void)
Get the current value of the global volume.
CSFML_AUDIO_API sfVector3f sfListener_getUpVector()
Get the current upward vector of the listener in the scene.