Loading...
Searching...
No Matches
SoundSource.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
void setPosition(float x, float y, float z)
Set the 3D position of the sound in the audio scene.
void setPosition(const Vector3f &position)
Set the 3D position of the sound in the audio scene.
void setMinDistance(float distance)
Set the minimum distance of the sound.
Vector3f getPosition() const
Get the 3D position of the sound in the audio scene.
void setAttenuation(float attenuation)
Set the attenuation factor of the sound.
virtual Status getStatus() const
Get the current status of the sound (stopped, paused, playing)
void setRelativeToListener(bool relative)
Make the sound's position relative to the listener or absolute.
bool isRelativeToListener() const
Tell whether the sound's position is relative to the listener or is absolute.
Definition AlResource.hpp:35