프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetCustomCurve | |||
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 ( |
Plays an AudioClip at a given position in world space.
|
|
UnPause ( ) : void |
Unpause the paused playback of this AudioSource.
|
메소드 | 설명 | |
---|---|---|
GetCustomCurve ( AudioSourceCurveType type ) : |
||
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 ( |
||
INTERNAL_CALL_UnPause ( |
||
Play ( ) : void | ||
Play ( [ delay ) : void | ||
PlayClipAtPoint ( |
||
PlayDelayed ( float delay ) : void | ||
PlayOneShot ( |
||
PlayOneShot ( |
||
PlayScheduled ( double time ) : void | ||
SetCustomCurve ( AudioSourceCurveType type, |
||
SetScheduledEndTime ( double time ) : void | ||
SetScheduledStartTime ( double time ) : void | ||
SetSpatializerFloat ( int index, float value ) : bool | ||
Stop ( ) : void |
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 |
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 |
public static PlayClipAtPoint ( |
||
clip | Audio data to play. | |
position | Position in world space from which sound originates. | |
volume | [ | Playback volume. |
리턴 | void |