C-DEngine 5.105

TheCommonUtils..::..GetRandomUInt Method

Generate a pseudo-random number.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static uint GetRandomUInt(
	uint pMin,
	uint pMax
)
Public Shared Function GetRandomUInt ( _
	pMin As UInteger, _
	pMax As UInteger _
) As UInteger
public:
static unsigned int^ GetRandomUInt(
	unsigned int^ pMin, 
	unsigned int^ pMax
)

Parameters

pMin
Type: UInt32
pMax
Type: UInt32

Return Value

A random unsigned integer.