Godot::Range
Inherits Godot::Control < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object
Base class for numeric control elements (sliders, progress bars, spinboxes).
Constructors
new(min : Number = 0.0, max : Number = 100.0, step : Float64 = 1.0)
SourceType cohesion: Initialize from a Crystal Range
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
allow_greater?
Sourceallow_lesser?
Sourceexp_edit?
Sourceget_as_ratio
Sourceget_max
Sourceget_min
Sourceget_page
Sourceget_step
Sourceget_value
Sourcein_range?(val : Number) : Bool
Sourceis_greater_allowed
Sourceis_lesser_allowed
Sourceis_ratio_exp
Sourceis_using_rounded_values
Sourcemax_value
Sourcemax_value=(max_value : Float64)
Sourcemin_value
Sourcemin_value=(min_value : Float64)
Sourcepage
Sourcepage=(page : Float64)
SourceType cohesion: Set bounds using a Crystal Range (e.g. control.range = 0..100)
ratio
Sourcerounded?
Sourceset_allow_greater(allow : Bool) : Void
Sourceset_allow_lesser(allow : Bool) : Void
Sourceset_as_ratio(value : Float64) : Void
Sourceset_exp_ratio(enabled : Bool) : Void
Sourceset_max(maximum : Float64) : Void
Sourceset_min(minimum : Float64) : Void
Sourceset_page(pagesize : Float64) : Void
Sourceset_step(step : Float64) : Void
Sourceset_use_rounded_values(enabled : Bool) : Void
Sourceset_value(value : Float64) : Void
Sourceset_value(val : Number) : Void
Sourceset_value_no_signal(value : Float64) : Void
Sourcestep
Sourcestep=(step : Float64)
Sourcevalue
Sourcevalue=(value : Float64)
Sourcevalue=(val : Number)
Source