struct RangedFloat
in global
A float between two values, which can be randomized or fixed.
public float Min { get; set; }
The minimum value of the float range.
public float Max { get; set; }
The maximum value of the float range. For , this will be the same as .
public float FixedValue { get; set; }
The fixed value. Setting this will convert us to a fixed value
public Vector2 RangeValue { get; set; }
The range value. Setting this will convert us to a range value
public RangedFloat.RangeType Range { get; set; }
Range type of this float.
public RangedFloat( float fixedValue )
Initialize the float as a fixed value.
public RangedFloat( float min, float max )
Initialize the float as a random value between given min and max.
minThe minimum possible value for this float.maxThe maximum possible value for this float.
public static RangedFloat Parse( string str )
Parse a ranged float from a string. Format is "min[ max]".
public Type GetType( )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public float y
😔 No documentation found.
public static RangedFloat op_Implicit( ValueTuple<float,float> range )
😔 No documentation found.
public float x
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public float GetValue( )
😔 No documentation found.
public void Deconstruct( ref float min, ref float max )
😔 No documentation found.
public static RangedFloat op_Implicit( float input )
😔 No documentation found.