The RangedFloat struct represents a float value that can be either fixed or randomized between a specified minimum and maximum range. It is a sealed value type, ensuring efficient memory usage and performance.
The RangedFloat struct represents a float value that can be either fixed or randomized between a specified minimum and maximum range. It is a sealed value type, ensuring efficient memory usage and performance.
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. |