2018-05-28 20:53:15 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 09:03:48 +08:00
<class name= "EditorInspector" inherits= "ScrollContainer" version= "4.0" >
2018-05-28 20:53:15 +08:00
<brief_description >
2020-02-03 23:28:23 +08:00
A tab used to edit properties of the selected node.
2018-05-28 20:53:15 +08:00
</brief_description>
<description >
2020-02-03 23:28:23 +08:00
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.
2020-04-15 04:09:21 +08:00
[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorInterface.get_inspector].
2018-05-28 20:53:15 +08:00
</description>
<tutorials >
</tutorials>
<methods >
</methods>
2019-09-03 18:44:58 +08:00
<members >
2020-07-28 07:08:44 +08:00
<member name= "scroll_horizontal_enabled" type= "bool" setter= "set_enable_h_scroll" getter= "is_h_scroll_enabled" override= "true" default= "false" />
2019-09-03 18:44:58 +08:00
</members>
2018-05-28 20:53:15 +08:00
<signals >
<signal name= "object_id_selected" >
<argument index= "0" name= "id" type= "int" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when the Edit button of an [Object] has been pressed in the inspector. This is mainly used in the remote scene tree inspector.
2018-05-28 20:53:15 +08:00
</description>
2020-04-20 17:48:00 +08:00
</signal>
<signal name= "property_deleted" >
<argument index= "0" name= "property" type= "String" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a property is removed from the inspector.
2020-04-20 17:48:00 +08:00
</description>
2018-05-28 20:53:15 +08:00
</signal>
2018-07-26 17:56:21 +08:00
<signal name= "property_edited" >
<argument index= "0" name= "property" type= "String" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a property is edited in the inspector.
2018-07-26 17:56:21 +08:00
</description>
</signal>
2018-05-28 20:53:15 +08:00
<signal name= "property_keyed" >
<argument index= "0" name= "property" type= "String" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a property is keyed in the inspector. Properties can be keyed by clicking the "key" icon next to a property when the Animation panel is toggled.
2018-05-28 20:53:15 +08:00
</description>
</signal>
2018-07-26 17:56:21 +08:00
<signal name= "property_selected" >
<argument index= "0" name= "property" type= "String" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a property is selected in the inspector.
2018-07-26 17:56:21 +08:00
</description>
</signal>
2018-11-10 21:21:34 +08:00
<signal name= "property_toggled" >
<argument index= "0" name= "property" type= "String" >
</argument>
<argument index= "1" name= "checked" type= "bool" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a boolean property is toggled in the inspector.
[b]Note:[/b] This signal is never emitted if the internal [code]autoclear[/code] property enabled. Since this property is always enabled in the editor inspector, this signal is never emitted by the editor itself.
2018-11-10 21:21:34 +08:00
</description>
</signal>
2018-05-28 20:53:15 +08:00
<signal name= "resource_selected" >
<argument index= "0" name= "res" type= "Object" >
</argument>
<argument index= "1" name= "prop" type= "String" >
</argument>
<description >
2020-07-18 23:17:00 +08:00
Emitted when a resource is selected in the inspector.
2018-05-28 20:53:15 +08:00
</description>
</signal>
2018-07-26 17:56:21 +08:00
<signal name= "restart_requested" >
<description >
2020-07-18 23:17:00 +08:00
Emitted when a property that requires a restart to be applied is edited in the inspector. This is only used in the Project Settings and Editor Settings.
2018-07-26 17:56:21 +08:00
</description>
</signal>
2018-05-28 20:53:15 +08:00
</signals>
<constants >
</constants>
</class>