Files
godot-docs/classes/class_editorinterface.rst
2017-09-06 14:46:15 +02:00

123 lines
9.6 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. _class_EditorInterface:
EditorInterface
===============
**Inherits:** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`edit_resource<class_EditorInterface_edit_resource>` **(** :ref:`Resource<class_resource>` resource **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Control<class_control>` | :ref:`get_base_control<class_EditorInterface_get_base_control>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Node<class_node>` | :ref:`get_edited_scene_root<class_EditorInterface_get_edited_scene_root>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorSettings<class_editorsettings>` | :ref:`get_editor_settings<class_EditorInterface_get_editor_settings>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Control<class_control>` | :ref:`get_editor_viewport<class_EditorInterface_get_editor_viewport>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`get_open_scenes<class_EditorInterface_get_open_scenes>` **(** **)** const |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorFileSystem<class_editorfilesystem>` | :ref:`get_resource_filesystem<class_EditorInterface_get_resource_filesystem>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorResourcePreview<class_editorresourcepreview>` | :ref:`get_resource_previewer<class_EditorInterface_get_resource_previewer>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`ScriptEditor<class_scripteditor>` | :ref:`get_script_editor<class_EditorInterface_get_script_editor>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorSelection<class_editorselection>` | :ref:`get_selection<class_EditorInterface_get_selection>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`inspect_object<class_EditorInterface_inspect_object>` **(** :ref:`Object<class_object>` object, :ref:`String<class_string>` for_property="" **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`make_mesh_previews<class_EditorInterface_make_mesh_previews>` **(** :ref:`Array<class_array>` arg0, :ref:`int<class_int>` arg1 **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`open_scene_from_path<class_EditorInterface_open_scene_from_path>` **(** :ref:`String<class_string>` scene_filepath **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`reload_scene_from_path<class_EditorInterface_reload_scene_from_path>` **(** :ref:`String<class_string>` scene_filepath **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`save_scene<class_EditorInterface_save_scene>` **(** **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`save_scene_as<class_EditorInterface_save_scene_as>` **(** :ref:`String<class_string>` path, :ref:`bool<class_bool>` with_preview=true **)** |
+------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
Member Function Description
---------------------------
.. _class_EditorInterface_edit_resource:
- void **edit_resource** **(** :ref:`Resource<class_resource>` resource **)**
.. _class_EditorInterface_get_base_control:
- :ref:`Control<class_control>` **get_base_control** **(** **)**
.. _class_EditorInterface_get_edited_scene_root:
- :ref:`Node<class_node>` **get_edited_scene_root** **(** **)**
.. _class_EditorInterface_get_editor_settings:
- :ref:`EditorSettings<class_editorsettings>` **get_editor_settings** **(** **)**
.. _class_EditorInterface_get_editor_viewport:
- :ref:`Control<class_control>` **get_editor_viewport** **(** **)**
.. _class_EditorInterface_get_open_scenes:
- :ref:`Array<class_array>` **get_open_scenes** **(** **)** const
.. _class_EditorInterface_get_resource_filesystem:
- :ref:`EditorFileSystem<class_editorfilesystem>` **get_resource_filesystem** **(** **)**
.. _class_EditorInterface_get_resource_previewer:
- :ref:`EditorResourcePreview<class_editorresourcepreview>` **get_resource_previewer** **(** **)**
.. _class_EditorInterface_get_script_editor:
- :ref:`ScriptEditor<class_scripteditor>` **get_script_editor** **(** **)**
.. _class_EditorInterface_get_selection:
- :ref:`EditorSelection<class_editorselection>` **get_selection** **(** **)**
.. _class_EditorInterface_inspect_object:
- void **inspect_object** **(** :ref:`Object<class_object>` object, :ref:`String<class_string>` for_property="" **)**
.. _class_EditorInterface_make_mesh_previews:
- :ref:`Array<class_array>` **make_mesh_previews** **(** :ref:`Array<class_array>` arg0, :ref:`int<class_int>` arg1 **)**
.. _class_EditorInterface_open_scene_from_path:
- void **open_scene_from_path** **(** :ref:`String<class_string>` scene_filepath **)**
.. _class_EditorInterface_reload_scene_from_path:
- void **reload_scene_from_path** **(** :ref:`String<class_string>` scene_filepath **)**
.. _class_EditorInterface_save_scene:
- :ref:`int<class_int>` **save_scene** **(** **)**
.. _class_EditorInterface_save_scene_as:
- void **save_scene_as** **(** :ref:`String<class_string>` path, :ref:`bool<class_bool>` with_preview=true **)**