C# Class Sharpex2D.Audio.AudioEffectGroup

Show file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
ApplyVolumeChange ( ) : void

Applys the new master volume to each audio effect.

Method Details

Add() public method

Adds a new AudioEffect to the AudioEffectGroup.
public Add ( AudioEffect audioEffect ) : void
audioEffect AudioEffect The AudioEffect.
return void

AudioEffectGroup() public method

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( ) : System
return System

AudioEffectGroup() public method

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( float masterVolume ) : System
masterVolume float The MasterVolume.
return System

AudioEffectGroup() public method

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( string name ) : System
name string The Name.
return System

AudioEffectGroup() public method

Initializes a new AudioEffectGroup class.
public AudioEffectGroup ( string name, float masterVolume ) : System
name string The Name.
masterVolume float The MasterVolume.
return System

Remove() public method

Removes an AudioEffect from the AudioEffectGroup.
public Remove ( AudioEffect audioEffect ) : void
audioEffect AudioEffect The AudioEffect.
return void

RemoveAll() public method

Removes all audio effects of this instance.
public RemoveAll ( ) : void
return void