#define SFML_AUDIO_API
Definition Export.hpp:42
Represents an angle value.
Definition Angle.hpp:35
The audio listener is the point in the scene from where all the sounds are heard.
Definition Listener.hpp:42
SFML_AUDIO_API void setUpVector(const Vector3f &upVector)
Set the upward vector of the listener in the scene.
SFML_AUDIO_API Vector3f getDirection()
Get the current forward vector of the listener in the scene.
SFML_AUDIO_API void setPosition(const Vector3f &position)
Set the position of the listener in the scene.
SFML_AUDIO_API Vector3f getPosition()
Get the current position of the listener in the scene.
SFML_AUDIO_API void setGlobalVolume(float volume)
Change the global volume of all the sounds and musics.
SFML_AUDIO_API Vector3f getUpVector()
Get the current upward vector of the listener in the scene.
SFML_AUDIO_API void setCone(const Listener::Cone &cone)
Set the cone properties of the listener in the audio scene.
SFML_AUDIO_API Listener::Cone getCone()
Get the cone properties of the listener in the audio scene.
SFML_AUDIO_API float getGlobalVolume()
Get the current value of the global volume.
SFML_AUDIO_API void setVelocity(const Vector3f &velocity)
Set the velocity of the listener in the scene.
SFML_AUDIO_API Vector3f getVelocity()
Get the current forward vector of the listener in the scene.
SFML_AUDIO_API void setDirection(const Vector3f &direction)
Set the forward vector of the listener in the scene.
Vector3< float > Vector3f
Definition Vector3.hpp:313
Structure defining the properties of a directional cone.
Definition Listener.hpp:55
float outerGain
Outer gain.
Definition Listener.hpp:58
Angle outerAngle
Outer angle.
Definition Listener.hpp:57
Angle innerAngle
Inner angle.
Definition Listener.hpp:56