FloatRange

Struct in ChivalrousGames.Common

Description

Represents a minimum float to maximum float range.

Fields

min float The minimum value
max float The maximum value

Properties

Zero FloatRange ReadOnly
Static
Gets a new zero-zero FloatRange
One FloatRange ReadOnly
Static
Gets a new one-one FloatRange

Constructors

Constructor
public FloatRange(float min, float max);
Parameters
min float The minimum value
max float The maximum value
Return
FloatRange A new instance of FloatRange