UnityEngine.AudioSource
class UnityEngine.AudioSource
Fields and Properties:
- float panLevel
- float pan
- float volume
- float pitch
- float time
- int timeSamples
- UnityEngine.AudioClip clip
- UnityEngine.Audio.AudioMixerGroup outputAudioMixerGroup
- UnityEngine.GamepadSpeakerOutputType gamepadSpeakerOutputType
- bool isPlaying
- bool isVirtual
- bool loop
- bool ignoreListenerVolume
- bool playOnAwake
- bool ignoreListenerPause
- UnityEngine.AudioVelocityUpdateMode velocityUpdateMode
- float panStereo
- float spatialBlend
- bool spatialize
- bool spatializePostEffects
- float reverbZoneMix
- bool bypassEffects
- bool bypassListenerEffects
- bool bypassReverbZones
- float dopplerLevel
- float spread
- int priority
- bool mute
- float minDistance
- float maxDistance
- UnityEngine.AudioRolloffMode rolloffMode
- float minVolume
- float maxVolume
- float rolloffFactor
Constructors:
- UnityEngine.AudioSource.New()
Methods:
- bool PlayOnGamepad(int)
- bool DisableGamepadOutput()
- bool SetGamepadSpeakerMixLevel(int, int)
- bool SetGamepadSpeakerMixLevelDefault(int)
- bool SetGamepadSpeakerRestrictedAudio(int, bool)
- (static) bool UnityEngine.AudioSource.GamepadSpeakerSupportsOutputType(UnityEngine.GamepadSpeakerOutputType)
- void Play()
- void Play(ulong)
- void PlayDelayed(float)
- void PlayScheduled(double)
- void PlayOneShot(UnityEngine.AudioClip)
- void PlayOneShot(UnityEngine.AudioClip, float)
- void SetScheduledStartTime(double)
- void SetScheduledEndTime(double)
- void Stop()
- void Pause()
- void UnPause()
- (static) void UnityEngine.AudioSource.PlayClipAtPoint(UnityEngine.AudioClip, UnityEngine.Vector3)
- (static) void UnityEngine.AudioSource.PlayClipAtPoint(UnityEngine.AudioClip, UnityEngine.Vector3, float)
- void SetCustomCurve(UnityEngine.AudioSourceCurveType, UnityEngine.AnimationCurve)
- UnityEngine.AnimationCurve GetCustomCurve(UnityEngine.AudioSourceCurveType)
- float[] GetOutputData(int, int)
- void GetOutputData(float[], int)
- float[] GetSpectrumData(int, int, UnityEngine.FFTWindow)
- void GetSpectrumData(float[], int, UnityEngine.FFTWindow)
- bool SetSpatializerFloat(int, float)
- bool SetAmbisonicDecoderFloat(int, float)