Provides an interface to output sound to the user's speakers.
|
Audio.LoadSound
|
|
1. String: file
|
|
:: Sound
|
Audio.LoadStreamedSound
|
|
1. String: file
|
|
:: Sound
|
Audio.PlaySound
|
|
1. Sound: sound
2. float: volume
|
|
:: AudioSource
|
Audio.PlayEntitySound
|
|
1. Entity: entity
2. Sound: sound
3. float: volume
|
|
:: AudioSource
|
Audio.LoopSound
|
|
1. Sound: sound
2. float: volume
|
|
:: AudioSource
|
Audio.LoopEntitySound
|
|
1. Entity: entity
2. Sound: sound
3. float: volume
|
|
:: AudioSource
|
Audio.PauseSound
|
|
1. AudioSource: source
|
|
---
|
Audio.ResumeSound
|
|
1. AudioSource: source
|
|
---
|
Audio.StopSound
|
|
1. AudioSource: source
|
|
---
|
|
|
Audio.SetVolume
|
|
1. float: volume
|
|
---
|
Audio.SetRolloff
|
|
1. float: rolloff
|
|
---
|
Audio.SetSoundVolume
|
|
1. AudioSource: source
2. float: volume
|
|
---
|
|
|
Audio.GetVolume
|
|
---
|
|
:: float
|
Audio.GetRolloff
|
|
---
|
|
:: float
|
Audio.GetSoundFileType
|
|
1. Sound: sound
|
|
:: Integer
|
Audio.GetSoundVolume
|
|
1. AudioSource: source
|
|
:: float
|
|
|
Audio.IsSoundPlaying
|
|
1. AudioSource: source
|
|
:: Boolean
|
Audio.IsSoundPaused
|
|
1. AudioSource: source
|
|
:: Boolean
|
|
|
|
|
|
|