Exemplo n.º 1
0
 /// <summary>
 /// Repeats the given effect n times
 /// </summary>
 /// <param name="effect"></param>
 /// <param name="repetitions"></param>
 public RepeaterEffect(RenderEffect effect, int repetitions)
 {
     if (effect == null)
         effect = RenderEffect.None;
     this.Effect = effect;
     Repetitions = repetitions;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Repeats the given effect once
 /// </summary>
 /// <param name="effect"></param>
 public RepeaterEffect(RenderEffect effect)
     : this(effect, 1)
 {
 }