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;
 }