ParticleIntValueProperty

Namespace: Murder.Core.Particles
Assembly: Murder.dll

public sealed struct ParticleIntValueProperty

⭐ Constructors

public ParticleIntValueProperty()
public ParticleIntValueProperty(int constant)

Parameters
constant int

public ParticleIntValueProperty(int rangeStart, int rangeEnd)

Parameters
rangeStart int
rangeEnd int

public ParticleIntValueProperty(int rangeStartMin, int rangeStartMax, int rangeEndMin, int rangeEndMax)

Parameters
rangeStartMin int
rangeStartMax int
rangeEndMin int
rangeEndMax int

⭐ Properties

Empty

public static ParticleIntValueProperty Empty { get; }

Returns
ParticleIntValueProperty

Kind

public readonly ParticleValuePropertyKind Kind;

Returns
ParticleValuePropertyKind

⭐ Methods

CalculateMaxValue()

public int CalculateMaxValue()

Returns
int

GetValue(Random)

public int GetValue(Random random)

Parameters
random Random

Returns
int