Base class for audio sources
Static methods
Variables
Methods
setSingleInstance(aSingleInstance:Bool):Void
Set whether only one instance of this sound should ever be playing at the same time
set3dMinMaxDistance(aMinDistance:Float32, aMaxDistance:Float32):Void
Set the minimum and maximum distances for 3d audio source (closer to min distance = max vol)
set3dAttenuation(aAttenuationModel:UInt32, aAttenuationRolloffFactor:Float32):Void
Set attenuation model and rolloff factor for 3d audio source
set3dDopplerFactor(aDopplerFactor:Float32):Void
Set doppler factor to reduce or enhance doppler effect, default = 1.0
set3dListenerRelative(aListenerRelative:Bool):Void
Set the coordinates for this audio source to be relative to listener's coordinates.
set3dDistanceDelay(aDistanceDelay:Bool):Void
Enable delaying the start of the sound based on the distance.
set3dCollider(aCollider:AudioCollider, aUserData:Int32 = 0):Void
Set a custom 3d audio collider. Set to NULL to disable.
createInstance():AudioSourceInstance
Create instance from the audio source. Called from within Soloud class.