Project Mercury API Reference |
RandomHelper..::.NextFloat Method (Single, Single) |
RandomHelper Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Returns a random float within the specified range.
Namespace:
ProjectMercury
Assembly:
ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0
Syntax
C# |
---|
public static float NextFloat( float min, float max ) |
Visual Basic (Declaration) |
---|
Public Shared Function NextFloat ( _ min As Single, _ max As Single _ ) As Single |
Visual C++ |
---|
public: static float NextFloat( float min, float max ) |
Parameters
- min
- Type: System..::.Single
The inclusive lower bound of the random number returned.
- max
- Type: System..::.Single
The inclusive upper bound of the random number returned.
Return Value
[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.NextFloat(System.Single,System.Single)"]