mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
Move source projects into source directory
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace MonoGame.Extended.Particles.Modifiers
|
||||
{
|
||||
public sealed class OpacityFastFadeModifier : Modifier
|
||||
{
|
||||
public override unsafe void Update(float elapsedSeconds, ParticleBuffer.ParticleIterator iterator)
|
||||
{
|
||||
while (iterator.HasNext)
|
||||
{
|
||||
var particle = iterator.Next();
|
||||
particle->Opacity = 1.0f - particle->Age;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user