struct RangedFloat

book_4_sparkGenerated
code_blocksInput

Description

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.

Members

Static Members

Member NameSummary
ParseParses a string to create a new RangedFloat instance.

Instance Members

Member NameSummary
GetValueReturns the final value of this ranged float, randomizing between min and max values.
DeconstructDeconstructs the RangedFloat into its min and max values.
MinThe minimum value of the float range.
MaxThe maximum value of the float range. For fixed range type, this will be the same as Min.
FixedValueThe fixed value. Setting this will convert the range to a fixed value.
RangeValueThe range value. Setting this will convert the range to a range value.
RangeRange type of this float.
xObsolete. Use RangedFloat.Min.
yObsolete. Use RangedFloat.Max.