Click or drag to resize

RandomNumberGeneratorRandiRange Method

Generates a pseudo-random 32-bit signed integer between from and to (inclusive).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int RandiRange(
	int from,
	int to
)

Parameters

from
Type: SystemInt32

[Missing <param name="from"/> documentation for "M:Godot.RandomNumberGenerator.RandiRange(System.Int32,System.Int32)"]

to
Type: SystemInt32

[Missing <param name="to"/> documentation for "M:Godot.RandomNumberGenerator.RandiRange(System.Int32,System.Int32)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.RandomNumberGenerator.RandiRange(System.Int32,System.Int32)"]

See Also