Click or drag to resize

RangeOfFloats Structure

Represents a range of floats

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
[SerializableAttribute]
public struct RangeOfFloats

The RangeOfFloats type exposes the following members.

Constructors
  NameDescription
Public methodRangeOfFloats
Constructor
Top
Properties
  NameDescription
Public propertyLastValue
The last value
Top
Methods
  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodRandom
Generate a random value between min and max
Public methodRandom(Random)
Generate a random value between min and max using a specific random instance
Public methodToString
ToString
(Overrides ValueTypeToString.)
Public methodToVector2
Convert the min and max to Vector2
Top
Fields
  NameDescription
Public fieldMaximum
Maximum value (inclusive)
Public fieldMinimum
Minimum value (inclusive)
Top
See Also