ParticleValueProperty
Namespace: Murder.Core.Particles
Assembly: Murder.dll
public sealed struct ParticleValueProperty
⭐ Constructors
public ParticleValueProperty()
public ParticleValueProperty(float constant)
Parameters
constant
float
public ParticleValueProperty(float rangeStart, float rangeEnd)
Parameters
rangeStart
float
rangeEnd
float
public ParticleValueProperty(float rangeStartMin, float rangeStartMax, float rangeEndMin, float rangeEndMax)
Parameters
rangeStartMin
float
rangeStartMax
float
rangeEndMin
float
rangeEndMax
float
⭐ Properties
Empty
public static ParticleValueProperty Empty { get; }
Returns
ParticleValueProperty
Kind
public readonly ParticleValuePropertyKind Kind;
Returns
ParticleValuePropertyKind
⭐ Methods
GetRandomValue(Random)
public float GetRandomValue(Random random)
Parameters
random
Random
Returns
float
GetValueAt(float)
public float GetValueAt(float delta)
Get the value of this property over a delta lifetime.
Parameters
delta
float
Returns
float
⚡