C# 클래스 UnityEngine.AudioSource

상속: Behaviour
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCustomCurve AnimationCurve
GetOutputData float[]
GetOutputDataHelper void
GetSpatializerFloat bool
GetSpectrumData float[]
GetSpectrumDataHelper void
INTERNAL_CALL_Pause void
INTERNAL_CALL_UnPause void
Play void
Play void
PlayClipAtPoint void
PlayDelayed void
PlayOneShot void
PlayOneShot void
PlayScheduled void
SetCustomCurve void
SetScheduledEndTime void
SetScheduledStartTime void
SetSpatializerFloat bool
Stop void

공개 메소드들

메소드 설명
GetOutputData ( float samples, int channel ) : void

Provides a block of the currently playing source's output data.

GetSpectrumData ( float samples, int channel, FFTWindow window ) : void

Provides a block of the currently playing audio source's spectrum data.

Pause ( ) : void

Pauses playing the clip.

PlayClipAtPoint ( AudioClip clip, Vector3 position, [ volume ) : void

Plays an AudioClip at a given position in world space.

UnPause ( ) : void

Unpause the paused playback of this AudioSource.

비공개 메소드들

메소드 설명
GetCustomCurve ( AudioSourceCurveType type ) : AnimationCurve
GetOutputData ( int numSamples, int channel ) : float[]
GetOutputDataHelper ( float samples, int channel ) : void
GetSpatializerFloat ( int index, float &value ) : bool
GetSpectrumData ( int numSamples, int channel, FFTWindow window ) : float[]
GetSpectrumDataHelper ( float samples, int channel, FFTWindow window ) : void
INTERNAL_CALL_Pause ( AudioSource self ) : void
INTERNAL_CALL_UnPause ( AudioSource self ) : void
Play ( ) : void
Play ( [ delay ) : void
PlayClipAtPoint ( AudioClip clip, Vector3 position ) : void
PlayDelayed ( float delay ) : void
PlayOneShot ( AudioClip clip ) : void
PlayOneShot ( AudioClip clip, [ volumeScale ) : void
PlayScheduled ( double time ) : void
SetCustomCurve ( AudioSourceCurveType type, AnimationCurve curve ) : void
SetScheduledEndTime ( double time ) : void
SetScheduledStartTime ( double time ) : void
SetSpatializerFloat ( int index, float value ) : bool
Stop ( ) : void

메소드 상세

GetOutputData() 공개 메소드

Provides a block of the currently playing source's output data.

public GetOutputData ( float samples, int channel ) : void
samples float The array to populate with audio samples. Its length must be a power of 2.
channel int The channel to sample from.
리턴 void

GetSpectrumData() 공개 메소드

Provides a block of the currently playing audio source's spectrum data.

public GetSpectrumData ( float samples, int channel, FFTWindow window ) : void
samples float The array to populate with audio samples. Its length must be a power of 2.
channel int The channel to sample from.
window FFTWindow The FFTWindow type to use when sampling.
리턴 void

Pause() 공개 메소드

Pauses playing the clip.

public Pause ( ) : void
리턴 void

PlayClipAtPoint() 공개 정적인 메소드

Plays an AudioClip at a given position in world space.

public static PlayClipAtPoint ( AudioClip clip, Vector3 position, [ volume ) : void
clip AudioClip Audio data to play.
position Vector3 Position in world space from which sound originates.
volume [ Playback volume.
리턴 void

UnPause() 공개 메소드

Unpause the paused playback of this AudioSource.

public UnPause ( ) : void
리턴 void