Inheritance: IContent
Esempio n. 1
0
 /// <summary>
 /// Removes an AudioEffect from the AudioEffectGroup.
 /// </summary>
 /// <param name="audioEffect">The AudioEffect.</param>
 public void Remove(AudioEffect audioEffect)
 {
     if (_audioEffects.Contains(audioEffect))
     {
         _audioEffects.Remove(audioEffect);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Removes an AudioEffect from the AudioEffectGroup.
 /// </summary>
 /// <param name="audioEffect">The AudioEffect.</param>
 public void Remove(AudioEffect audioEffect)
 {
     if (_audioEffects.Contains(audioEffect))
     {
         _audioEffects.Remove(audioEffect);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Adds an array of AudioEffect to the AudioEffectGroup.
 /// </summary>
 /// <param name="audioEffects">The AudioEffect Array.</param>
 public void Add(AudioEffect[] audioEffects)
 {
     _audioEffects.AddRange(audioEffects);
     foreach (var audioEffect in audioEffects)
     {
         audioEffect.Volume = MasterVolume;
     }
 }
Esempio n. 4
0
 /// <summary>
 /// Adds a new AudioEffect to the AudioEffectGroup.
 /// </summary>
 /// <param name="audioEffect">The AudioEffect.</param>
 public void Add(AudioEffect audioEffect)
 {
     _audioEffects.Add(audioEffect);
     audioEffect.Volume = MasterVolume;
 }
Esempio n. 5
0
 /// <summary>
 /// Adds a new AudioEffect to the AudioEffectGroup.
 /// </summary>
 /// <param name="audioEffect">The AudioEffect.</param>
 public void Add(AudioEffect audioEffect)
 {
     _audioEffects.Add(audioEffect);
     audioEffect.Volume = MasterVolume;
 }