Range¶
Namespace:
SideXP.Core
Represents a range between a minimum and a maximum.
Constructors¶
Range(float)¶
Represents a range between 0 and a given maximum.
Range(float, float)¶
Represents a range between a minimum and a maximum.
Parameters
min: The minimum value of this range.min: The maximum value of this range.
Range(Range)¶
Parameters
other: The range to copy.
Properties¶
Min¶
Inherited documentation.
Max¶
Inherited documentation.
Delta¶
Returns the delta between min and max, basically the result of (max - min).
Random¶
Gets a random value between min and max, both inclusive.