FloatRange

Namespace: Murder.Core
Assembly: Murder.dll

public sealed struct FloatRange

Range of float values.

⭐ Constructors

public FloatRange(float start, float end)

Parameters
start float
end float

⭐ Properties

End

public readonly float End;

Returns
float

Start

public readonly float Start;

Returns
float

⭐ Methods

Contains(float)

public bool Contains(float v)

Parameters
v float

Returns
bool

GetRandom()

public float GetRandom()

Returns
float

GetRandom(Random)

public float GetRandom(Random random)

Parameters
random Random

Returns
float

Lerp(float)

public float Lerp(float progress)

Parameters
progress float

Returns
float