25#ifndef SFML_LISTENER_HPP
26#define SFML_LISTENER_HPP
31#include <SFML/Audio/Export.hpp>
32#include <SFML/System/Vector3.hpp>
The audio listener is the point in the scene from where all the sounds are heard.
static void setUpVector(float x, float y, float z)
Set the upward vector of the listener in the scene.
static float getGlobalVolume()
Get the current value of the global volume.
static void setDirection(const Vector3f &direction)
Set the forward vector of the listener in the scene.
static void setUpVector(const Vector3f &upVector)
Set the upward vector of the listener in the scene.
static void setPosition(const Vector3f &position)
Set the position of the listener in the scene.
static Vector3f getDirection()
Get the current forward vector of the listener in the scene.
static void setPosition(float x, float y, float z)
Set the position of the listener in the scene.
static void setGlobalVolume(float volume)
Change the global volume of all the sounds and musics.
static Vector3f getPosition()
Get the current position of the listener in the scene.
static Vector3f getUpVector()
Get the current upward vector of the listener in the scene.
static void setDirection(float x, float y, float z)
Set the forward vector of the listener in the scene.
Utility template class for manipulating 3-dimensional vectors.