The RangedFloat struct represents a floating-point number that can vary between a specified minimum and maximum value. It can be used to generate random values within this range or be set to a fixed value.
The RangedFloat struct represents a floating-point number that can vary between a specified minimum and maximum value. It can be used to generate random values within this range or be set to a fixed value.
Member Name | Summary |
---|---|
Parse | Parses a string to create a new RangedFloat instance. |
Member Name | Summary |
---|---|
GetValue | Returns the final value of this ranged float, randomizing between min and max values. |
Deconstruct | Deconstructs the RangedFloat into its min and max values. |
Min | The minimum value of the float range. |
Max | The maximum value of the float range. For fixed range type, this will be the same as Min. |
FixedValue | The fixed value. Setting this will convert the range to a fixed value. |
RangeValue | The range value. Setting this will convert the range to a range value. |
Range | Range type of this float. |
x | Obsolete. Use RangedFloat.Min. |
y | Obsolete. Use RangedFloat.Max. |