class_editorinspector.rst 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the EditorInspector.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_EditorInspector:
  6. EditorInspector
  7. ===============
  8. **Inherits:** :ref:`ScrollContainer<class_ScrollContainer>` **<** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. A tab used to edit properties of the selected node.
  10. Description
  11. -----------
  12. The editor inspector is by default located on the right-hand side of the editor. It's used to edit the properties of the selected node. For example, you can select a node such as Sprite2D then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow.
  13. Properties
  14. ----------
  15. +-------------------------+---------------------------+------------------+
  16. | :ref:`bool<class_bool>` | scroll_horizontal_enabled | **O:** ``false`` |
  17. +-------------------------+---------------------------+------------------+
  18. Methods
  19. -------
  20. +------+------------------------------------------------------------------+
  21. | void | :ref:`refresh<class_EditorInspector_method_refresh>` **(** **)** |
  22. +------+------------------------------------------------------------------+
  23. Signals
  24. -------
  25. .. _class_EditorInspector_signal_object_id_selected:
  26. - **object_id_selected** **(** :ref:`int<class_int>` id **)**
  27. ----
  28. .. _class_EditorInspector_signal_property_edited:
  29. - **property_edited** **(** :ref:`String<class_String>` property **)**
  30. ----
  31. .. _class_EditorInspector_signal_property_keyed:
  32. - **property_keyed** **(** :ref:`String<class_String>` property **)**
  33. ----
  34. .. _class_EditorInspector_signal_property_selected:
  35. - **property_selected** **(** :ref:`String<class_String>` property **)**
  36. ----
  37. .. _class_EditorInspector_signal_property_toggled:
  38. - **property_toggled** **(** :ref:`String<class_String>` property, :ref:`bool<class_bool>` checked **)**
  39. ----
  40. .. _class_EditorInspector_signal_resource_selected:
  41. - **resource_selected** **(** :ref:`Object<class_Object>` res, :ref:`String<class_String>` prop **)**
  42. ----
  43. .. _class_EditorInspector_signal_restart_requested:
  44. - **restart_requested** **(** **)**
  45. Method Descriptions
  46. -------------------
  47. .. _class_EditorInspector_method_refresh:
  48. - void **refresh** **(** **)**