Godot::RandomNumberGenerator
Inherits Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
get_seed
Sourceget_state
Sourcerand_weighted(weights : Pointer(Void)) : Int64
Sourcerandf
Sourcerandf_range(from : Float64, to : Float64) : Float64
Sourcerandfn(mean : Float64, deviation : Float64) : Float64
Sourcerandi
Sourcerandi_range(from : Int64, to : Int64) : Int64
Sourcerandomize
Sourceset_seed(seed : Int64) : Void
Sourceset_state(state : Int64) : Void
Source