Random
Overview
Random number generator class.
Location
-
Reference:
- Elements.dll .NET, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
Instance Methods
constructor .NET, .NET Standard 2.0, Cooper, Island, ToffeeV2
constructor
Random()
init()
Random()
Sub New()
constructor init() Toffee
init(init )
Parameters:
- :
constructor (UInt64)
constructor(aSeed: UInt64)
Random(UInt64 aSeed)
init(_ aSeed: UInt64)
Random(UInt64 aSeed)
Sub New(aSeed As UInt64)
Parameters:
- aSeed:
NextDouble .NET, .NET Standard 2.0, Cooper, Island, ToffeeV2
Creates a new random double value
method NextDouble: Double
Double NextDouble()
func NextDouble() -> Double
Double NextDouble()
Function NextDouble() As Double
NextDouble NextDouble(): Double virtual Toffee
func NextDouble(NextDouble ) -> Double
Parameters:
- :
NextInt .NET, .NET Standard 2.0, Cooper, Island, ToffeeV2
Returns a new random value.
method NextInt: Int32
Int32 NextInt()
func NextInt() -> Int32
Integer NextInt()
Function NextInt() As Int32
Returns a new int32 value, with max value.
Parameters:
- MaxValuePlusOne:
NextInt NextInt(): Int32 virtual Toffee
func NextInt(NextInt ) -> Int32
Parameters:
- :