SoundSource

Base class defining a sound's properties.

Members

Enums

Status
enum Status

Enumeration of the sound source states.

Properties

attenuation
float attenuation [@property setter]
float attenuation [@property getter]

The attenuation factor of the sound.

minDistance
float minDistance [@property setter]
float minDistance [@property getter]

The minimum distance of the sound.

pitch
float pitch [@property setter]
float pitch [@property getter]

The pitch of the sound.

position
Vector3f position [@property setter]
Vector3f position [@property getter]

The 3D position of the sound in the audio scene.

relativeToListener
bool relativeToListener [@property setter]
bool relativeToListener [@property getter]

Make the sound's position relative to the listener (true) or absolute (false).

volume
float volume [@property setter]
float volume [@property getter]

The volume of the sound.

Meta