C# Класс Sharpex2D.Audio.AudioEffectGroup

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

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

Метод Описание
Add ( AudioEffect audioEffect ) : void

Adds a new AudioEffect to the AudioEffectGroup.

AudioEffectGroup ( ) : System

Initializes a new AudioEffectGroup class.

AudioEffectGroup ( float masterVolume ) : System

Initializes a new AudioEffectGroup class.

AudioEffectGroup ( string name ) : System

Initializes a new AudioEffectGroup class.

AudioEffectGroup ( string name, float masterVolume ) : System

Initializes a new AudioEffectGroup class.

Remove ( AudioEffect audioEffect ) : void

Removes an AudioEffect from the AudioEffectGroup.

RemoveAll ( ) : void

Removes all audio effects of this instance.

Приватные методы

Метод Описание
ApplyVolumeChange ( ) : void

Applys the new master volume to each audio effect.

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

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

Adds a new AudioEffect to the AudioEffectGroup.
public Add ( AudioEffect audioEffect ) : void
audioEffect AudioEffect The AudioEffect.
Результат void

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

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( ) : System
Результат System

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

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( float masterVolume ) : System
masterVolume float The MasterVolume.
Результат System

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

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( string name ) : System
name string The Name.
Результат System

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

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( string name, float masterVolume ) : System
name string The Name.
masterVolume float The MasterVolume.
Результат System

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

Removes an AudioEffect from the AudioEffectGroup.
public Remove ( AudioEffect audioEffect ) : void
audioEffect AudioEffect The AudioEffect.
Результат void

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

Removes all audio effects of this instance.
public RemoveAll ( ) : void
Результат void