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