EditorInspector.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="EditorInspector" inherits="ScrollContainer" version="4.0">
  3. <brief_description>
  4. A tab used to edit properties of the selected node.
  5. </brief_description>
  6. <description>
  7. 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.
  8. [b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorInterface.get_inspector].
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <members>
  13. <member name="scroll_horizontal_enabled" type="bool" setter="set_enable_h_scroll" getter="is_h_scroll_enabled" override="true" default="false" />
  14. </members>
  15. <signals>
  16. <signal name="object_id_selected">
  17. <argument index="0" name="id" type="int" />
  18. <description>
  19. Emitted when the Edit button of an [Object] has been pressed in the inspector. This is mainly used in the remote scene tree inspector.
  20. </description>
  21. </signal>
  22. <signal name="property_deleted">
  23. <argument index="0" name="property" type="String" />
  24. <description>
  25. Emitted when a property is removed from the inspector.
  26. </description>
  27. </signal>
  28. <signal name="property_edited">
  29. <argument index="0" name="property" type="String" />
  30. <description>
  31. Emitted when a property is edited in the inspector.
  32. </description>
  33. </signal>
  34. <signal name="property_keyed">
  35. <argument index="0" name="property" type="String" />
  36. <description>
  37. 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.
  38. </description>
  39. </signal>
  40. <signal name="property_selected">
  41. <argument index="0" name="property" type="String" />
  42. <description>
  43. Emitted when a property is selected in the inspector.
  44. </description>
  45. </signal>
  46. <signal name="property_toggled">
  47. <argument index="0" name="property" type="String" />
  48. <argument index="1" name="checked" type="bool" />
  49. <description>
  50. Emitted when a boolean property is toggled in the inspector.
  51. [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.
  52. </description>
  53. </signal>
  54. <signal name="resource_selected">
  55. <argument index="0" name="res" type="Object" />
  56. <argument index="1" name="prop" type="String" />
  57. <description>
  58. Emitted when a resource is selected in the inspector.
  59. </description>
  60. </signal>
  61. <signal name="restart_requested">
  62. <description>
  63. 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.
  64. </description>
  65. </signal>
  66. </signals>
  67. </class>