C# Класс GAudio.PulsedPatternModule

Наследование: AGATPulsedPattern
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddSample ( string sampleName ) : void

Adds a new PatternSample at the end of the list. You may then retrieve the updated samples ( Samples property ), and configure the newly added sample's parameters.

InsertSample ( PatternSample newSample, int index ) : void

Inserts a pre configured PatternSample in the pattern.

PlaySample ( int index, double dspTime ) : void
RemoveSampleAt ( int index ) : void

Removes the PatternSample at specified index.

Защищенные методы

Метод Описание
CanSubscribeToPulse ( ) : bool
OnDestroy ( ) : void
UpdatedSampleCount ( ) : int

Описание методов

AddSample() публичный Метод

Adds a new PatternSample at the end of the list. You may then retrieve the updated samples ( Samples property ), and configure the newly added sample's parameters.
public AddSample ( string sampleName ) : void
sampleName string
Результат void

CanSubscribeToPulse() защищенный Метод

protected CanSubscribeToPulse ( ) : bool
Результат bool

InsertSample() публичный Метод

Inserts a pre configured PatternSample in the pattern.
public InsertSample ( PatternSample newSample, int index ) : void
newSample PatternSample
index int
Результат void

OnDestroy() защищенный Метод

protected OnDestroy ( ) : void
Результат void

PlaySample() публичный Метод

public PlaySample ( int index, double dspTime ) : void
index int
dspTime double
Результат void

RemoveSampleAt() публичный Метод

Removes the PatternSample at specified index.
public RemoveSampleAt ( int index ) : void
index int Index.
Результат void

UpdatedSampleCount() защищенный Метод

protected UpdatedSampleCount ( ) : int
Результат int