C# Class AGATFilter, G-Audio

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: gregzo/G-Audio Class Usage Examples

Méthodes publiques

Méthode Description
GetFilterProperties ( ) : FilterProperty[]
InitFilter ( int slotIndex ) : void

Initializes the filter.

ProcessChunk ( float data, int fromIndex, int length, bool emptyData ) : bool

Apply the filter.

ResetFilter ( ) : void

Resets the filter. If the filter is stateless, may do nothing.

Method Details

GetFilterProperties() public méthode

public GetFilterProperties ( ) : FilterProperty[]
Résultat FilterProperty[]

InitFilter() public méthode

Initializes the filter.
public InitFilter ( int slotIndex ) : void
slotIndex int
Résultat void

ProcessChunk() public abstract méthode

Apply the filter.
public abstract ProcessChunk ( float data, int fromIndex, int length, bool emptyData ) : bool
data float Data.
fromIndex int From index.
length int Length.
emptyData bool If data is empty, the filter may still need to add to it( reverbs, for example ), or to reset their state.
Résultat bool

ResetFilter() public abstract méthode

Resets the filter. If the filter is stateless, may do nothing.
public abstract ResetFilter ( ) : void
Résultat void