- attenuation
float attenuation [@property setter]
The attenuation factor of the sound.
- attenuation
float attenuation [@property getter]
Undocumented in source.
- minDistance
float minDistance [@property setter]
The minimum distance of the sound.
- minDistance
float minDistance [@property getter]
Undocumented in source.
- pitch
float pitch [@property setter]
- pitch
float pitch [@property getter]
Undocumented in source.
- position
Vector3f position [@property setter]
The 3D position of the sound in the audio scene.
- position
Vector3f position [@property getter]
Undocumented in source.
- relativeToListener
bool relativeToListener [@property setter]
Make the sound's position relative to the listener (true) or absolute (false).
- relativeToListener
bool relativeToListener [@property getter]
Undocumented in source.
- volume
float volume [@property setter]
- volume
float volume [@property getter]
Undocumented in source.
Base class defining a sound's properties.
SoundSource is not meant to be used directly, it only serves as a common base for all audio objects that can live in the audio environment.
It defines several properties for the sound: pitch, volume, position, attenuation, etc. All of them can be changed at any time with no impact on performances.