Interface ISoundOptions
Hierarchy
- ISoundOptions
Index
Properties
Optional autoplaySearch playground for autoplay
Does the sound autoplay once loaded.
Optional distance ModelSearch playground for distanceModel
Define the distance attenuation model the sound will follow.
Optional lengthSearch playground for length
Defines an optional length (in seconds) inside the sound file
Optional loopSearch playground for loop
Does the sound loop after it finishes playing once.
Optional max DistanceSearch playground for maxDistance
Maximum distance to hear that sound
Optional offsetSearch playground for offset
Defines an optional offset (in seconds) inside the sound file
Optional playback RateSearch playground for playbackRate
Defines the playback speed (1 by default)
Optional ref DistanceSearch playground for refDistance
Define the reference distance the sound should be heard perfectly.
Optional rolloff FactorSearch playground for rolloffFactor
Define the roll off factor of spatial sounds.
Optional skip Codec CheckSearch playground for skipCodecCheck
If true, URLs will not be required to state the audio file codec to use.
Optional spatial SoundSearch playground for spatialSound
Is it a spatial sound?
Optional streamingSearch playground for streaming
Defines if the sound is from a streaming source
Optional use Custom AttenuationSearch playground for useCustomAttenuation
Uses user defined attenuation function
Optional volumeSearch playground for volume
Sound's volume
Interface used to define options for Sound class