-
Notifications
You must be signed in to change notification settings - Fork 1
AudioSource bindings
SDraw edited this page Jun 14, 2023
·
3 revisions
Refer to Unity's AudioSource documentation for properties and methods description.
-
bypassEffects
: get/set, boolean -
bypassListenerEffects
: get/set, boolean -
bypassReverbZones
: get/set, boolean -
clip
: get/set, AudioClip -
dopplerLevel
: get/set, float -
ignoreListenerPause
: get/set, boolean -
ignoreListenerVolume
: get/set, boolean -
isPlaying
: get, boolean -
isVirtual
: get, boolean -
loop
: get/set, boolean -
maxDistance
: get/set, float -
minDistance
: get/set, float -
panStereo
: get/set, float -
pitch
: get/set, float -
playOnAwake
: get/set, boolean -
priority
: get/set, integer -
reverbZoneMix
: get/set, float -
rolloffMode
: get/set, string as enum -
spatialBlend
: get/set, float -
spatialize
: get/set, boolean -
spatializePostEffects
: get/set, boolean -
spread
: get/set, float -
time
: get/set, float -
timeSamples
: get, integer -
velocityUpdateMode
: get/set, string as enum -
volume
: get/set, float
float GetAmbisonicDecoderFloat(int index)
table GetOutputData(int samples, int channel)
float GetSpatializerFloat(int index)
table GetSpectrumData(int samples, int channle, string fftWindow)
bool Pause()
bool Play()
bool PlayDelayed(float delay)
bool PlayOneShot(AudioClip clip)
bool PlayScheduled(float time)
bool SetAmbisonicDecoderFloat(int index, float value)
bool SetScheduledEndTime(float time)
bool SetScheduledStartTime(float time)
bool SetSpatializerFloat(int index, float)
bool Stop()
bool UnPause()
bool PlayClipAtPoint(AudioClip clip, Vector3 point)
-
bool IsAudioSource(object obj)
: checks if value is type ofAudioSource
.
- Inherits properties and methods from Behavior.