Click or drag to resize

IRandom Interface

Represents a random generator.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 5, 0)]
public interface IRandom

The IRandom type exposes the following members.

Methods
  NameDescription
Public methodNext
Gets the next the random integer value.
Public methodNext(Int32)
Gets the next the random integer value below the given maximum.
Public methodNext(Int32, Int32)
Gets the next the random integer value greater than or equal to the minimum and below the given maximum.
Public methodNextBytes
Fills the given array with random bytes.
Public methodNextDouble
Gets the next the random double value.
Public methodRandomOnSphere
Returns a random value on the surface of a sphere with a given radius.
Top
See Also