Files
godot-docs/classes/class_editorinspector.rst
2020-03-13 17:17:50 +01:00

85 lines
2.4 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the EditorInspector.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_EditorInspector:
EditorInspector
===============
**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>`
A tab used to edit properties of the selected node.
Description
-----------
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 the Sprite2D then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow.
Properties
----------
+-------------------------+---------------------------+------------------+
| :ref:`bool<class_bool>` | scroll_horizontal_enabled | **O:** ``false`` |
+-------------------------+---------------------------+------------------+
Methods
-------
+------+------------------------------------------------------------------+
| void | :ref:`refresh<class_EditorInspector_method_refresh>` **(** **)** |
+------+------------------------------------------------------------------+
Signals
-------
.. _class_EditorInspector_signal_object_id_selected:
- **object_id_selected** **(** :ref:`int<class_int>` id **)**
----
.. _class_EditorInspector_signal_property_edited:
- **property_edited** **(** :ref:`String<class_String>` property **)**
----
.. _class_EditorInspector_signal_property_keyed:
- **property_keyed** **(** :ref:`String<class_String>` property **)**
----
.. _class_EditorInspector_signal_property_selected:
- **property_selected** **(** :ref:`String<class_String>` property **)**
----
.. _class_EditorInspector_signal_property_toggled:
- **property_toggled** **(** :ref:`String<class_String>` property, :ref:`bool<class_bool>` checked **)**
----
.. _class_EditorInspector_signal_resource_selected:
- **resource_selected** **(** :ref:`Object<class_Object>` res, :ref:`String<class_String>` prop **)**
----
.. _class_EditorInspector_signal_restart_requested:
- **restart_requested** **(** **)**
Method Descriptions
-------------------
.. _class_EditorInspector_method_refresh:
- void **refresh** **(** **)**