Inheritance: IContent
示例#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);
     }
 }
示例#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);
     }
 }
示例#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;
     }
 }
示例#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;
 }
示例#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;
 }