Range is a base class for [Control] nodes that change a floating point [i]value[/i] between a [i]minimum[/i] and a [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a [ScrollBar].
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<methodname="get_as_ratio"qualifiers="const">
<returntype="float">
</return>
<description>
Return value mapped to 0 to 1 range.
</description>
</method>
<methodname="get_max"qualifiers="const">
<returntype="float">
</return>
<description>
Return the maximum value.
</description>
</method>
<methodname="get_min"qualifiers="const">
<returntype="float">
</return>
<description>
Return the minimum value.
</description>
</method>
<methodname="get_page"qualifiers="const">
<returntype="float">
</return>
<description>
Return the page size, if page is 0, paging is disabled.
</description>
</method>
<methodname="get_step"qualifiers="const">
<returntype="float">
</return>
<description>
Return the stepping, if step is 0, stepping is disabled.
Binds two Ranges together along with any Ranges previously grouped with either of them. When any of Range's member variables change, it will share the new value with all other Ranges in its group.
Page size. Used mainly for [ScrollBar]. ScrollBar's length is its size multiplied by [code]page[/code] over the difference between [code]min_value[/code] and [code]max_value[/code].
If greater than 0, [code]value[/code] will always be rounded to a multiple of [code]step[/code]. If [code]rounded[/code] is also [code]true[/code], [code]value[/code] will first be rounded to a multiple of [code]step[/code] then rounded to the nearest integer.