mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
* yay, a start on data driven particles * added data driven support for all particle profiles * pretty much finished all of the particle serialization code * resolved an inconsistency with the interpolators
13 lines
312 B
C#
13 lines
312 B
C#
namespace MonoGame.Extended.Particles.Modifiers.Interpolators
|
|
{
|
|
public interface IInterpolator
|
|
{
|
|
unsafe void Update(float amount, Particle* particle);
|
|
}
|
|
|
|
public interface IInterpolator<T> : IInterpolator
|
|
{
|
|
T StartValue { get; set; }
|
|
T EndValue { get; set; }
|
|
}
|
|
} |