struct RangedFloat

book_4_sparkGenerated
code_blocksInput

Description

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.

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.