virtualx-engine/doc/classes/EditorSpinSlider.xml

29 lines
1.5 KiB
XML
Raw Normal View History

2019-10-26 16:40:31 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="EditorSpinSlider" inherits="Range" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2019-10-26 16:40:31 +02:00
<brief_description>
Godot editor's control for editing numeric values.
2019-10-26 16:40:31 +02:00
</brief_description>
<description>
This [Control] node is used in the editor's Inspector dock to allow editing of numeric values. Can be used with [EditorInspectorPlugin] to recreate the same behavior.
2019-10-26 16:40:31 +02:00
</description>
<tutorials>
</tutorials>
<members>
<member name="flat" type="bool" setter="set_flat" getter="is_flat" default="false">
2022-10-06 21:59:48 +02:00
If [code]true[/code], the slider will not draw background.
2019-10-26 16:40:31 +02:00
</member>
2022-04-09 23:31:22 +02:00
<member name="hide_slider" type="bool" setter="set_hide_slider" getter="is_hiding_slider" default="false">
If [code]true[/code], the slider is hidden.
</member>
2019-10-26 16:40:31 +02:00
<member name="label" type="String" setter="set_label" getter="get_label" default="&quot;&quot;">
2022-10-06 21:59:48 +02:00
The text that displays to the left of the value.
2019-10-26 16:40:31 +02:00
</member>
<member name="read_only" type="bool" setter="set_read_only" getter="is_read_only" default="false">
2022-10-06 21:59:48 +02:00
If [code]true[/code], the slider can't be interacted with.
2019-10-26 16:40:31 +02:00
</member>
<member name="suffix" type="String" setter="set_suffix" getter="get_suffix" default="&quot;&quot;">
The suffix to display after the value (in a faded color). This should generally be a plural word. You may have to use an abbreviation if the suffix is too long to be displayed.
</member>
2019-10-26 16:40:31 +02:00
</members>
</class>