C# Class UnityEngine.AudioListener

Inheritance: Behaviour
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
GetOutputData ( float samples, int channel ) : void

Provides a block of the listener (master)'s output data.

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

Provides a block of the listener (master)'s spectrum data.

Private Methods

Méthode Description
GetOutputData ( int numSamples, int channel ) : float[]
GetOutputDataHelper ( float samples, int channel ) : void
GetSpectrumData ( int numSamples, int channel, FFTWindow window ) : float[]
GetSpectrumDataHelper ( float samples, int channel, FFTWindow window ) : void

Method Details

GetOutputData() public static méthode

Provides a block of the listener (master)'s output data.

public static 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.
Résultat void

GetSpectrumData() public static méthode

Provides a block of the listener (master)'s spectrum data.

public static 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.
Résultat void