struct Range(B, E)
- Range(B, E)
- Struct
- Value
- Object
Overview
Crystal Standard Library Extension: Type cohesion for Crystal Range <-> Godot
Included Modules
- Enumerable(B)
- Iterable(B)
Defined in:
libgodot/object.crInstance Method Summary
-
#to_godot_bounds : Tuple(Float64, Float64)
Converts to float tuple for engine interop
-
#to_godot_hint_string(step : Number | Nil = nil) : String
Converts Crystal range to a Godot PROPERTY_HINT_RANGE hint string (e.g.
-
#to_godot_range(step : Number = 1.0) : Godot::Range
Converts Crystal range into a Godot::Range control node
Instance Method Detail
Converts Crystal range to a Godot PROPERTY_HINT_RANGE hint string (e.g. "0,100" or "0,100,0.5")
Converts Crystal range into a Godot::Range control node