EditorSpinSlider.xml 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="EditorSpinSlider" inherits="Range" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Godot editor's control for editing numeric values.
  5. </brief_description>
  6. <description>
  7. 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.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="flat" type="bool" setter="set_flat" getter="is_flat" default="false">
  15. </member>
  16. <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" />
  17. <member name="hide_slider" type="bool" setter="set_hide_slider" getter="is_hiding_slider" default="false">
  18. If [code]true[/code], the slider is hidden.
  19. </member>
  20. <member name="label" type="String" setter="set_label" getter="get_label" default="&quot;&quot;">
  21. </member>
  22. <member name="read_only" type="bool" setter="set_read_only" getter="is_read_only" default="false">
  23. </member>
  24. </members>
  25. <constants>
  26. </constants>
  27. </class>