Example #1
0
 internal override void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator)
 {
     TPL.Parallel.ForEach(modifiers, modifier => modifier.Update(elapsedSeconds, iterator.Reset()));
 }
Example #2
0
 internal abstract void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator);
Example #3
0
 internal override void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator)
 {
     foreach (var modifier in modifiers)
     {
         modifier.Update(elapsedSeconds, iterator.Reset());
     }
 }