MersenneTwisterNextUInt(UInt32, UInt32) Method

Returns a random number within a specified range.

Definition

Namespace: Metas.UncLib.Core.RandomGenerator
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public virtual uint NextUInt(
	uint minValue,
	uint maxValue
)

Parameters

minValue  UInt32
The inclusive lower bound of the random number returned.
maxValue  UInt32
The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue.

Return Value

UInt32

See Also