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