#include "editor_interface.h"
#include "editor_interface.compat.inc"
#include "editor/editor_command_palette.h"
#include "editor/editor_feature_profile.h"
#include "editor/editor_main_screen.h"
#include "editor/editor_node.h"
#include "editor/editor_paths.h"
#include "editor/editor_resource_preview.h"
#include "editor/editor_settings.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/filesystem_dock.h"
#include "editor/gui/editor_run_bar.h"
#include "editor/gui/editor_scene_tabs.h"
#include "editor/gui/scene_tree_editor.h"
#include "editor/inspector_dock.h"
#include "editor/plugins/node_3d_editor_plugin.h"
#include "editor/property_selector.h"
#include "editor/themes/editor_scale.h"
#include "main/main.h"
#include "scene/gui/box_container.h"
#include "scene/gui/control.h"
#include "scene/main/window.h"
#include "scene/resources/theme.h"
EditorInterface *EditorInterface::singleton = …;
void EditorInterface::restart_editor(bool p_save) { … }
EditorCommandPalette *EditorInterface::get_command_palette() const { … }
EditorFileSystem *EditorInterface::get_resource_file_system() const { … }
EditorPaths *EditorInterface::get_editor_paths() const { … }
EditorResourcePreview *EditorInterface::get_resource_previewer() const { … }
EditorSelection *EditorInterface::get_selection() const { … }
Ref<EditorSettings> EditorInterface::get_editor_settings() const { … }
EditorUndoRedoManager *EditorInterface::get_editor_undo_redo() const { … }
TypedArray<Texture2D> EditorInterface::_make_mesh_previews(const TypedArray<Mesh> &p_meshes, int p_preview_size) { … }
Vector<Ref<Texture2D>> EditorInterface::make_mesh_previews(const Vector<Ref<Mesh>> &p_meshes, Vector<Transform3D> *p_transforms, int p_preview_size) { … }
void EditorInterface::set_plugin_enabled(const String &p_plugin, bool p_enabled) { … }
bool EditorInterface::is_plugin_enabled(const String &p_plugin) const { … }
Ref<Theme> EditorInterface::get_editor_theme() const { … }
Control *EditorInterface::get_base_control() const { … }
VBoxContainer *EditorInterface::get_editor_main_screen() const { … }
ScriptEditor *EditorInterface::get_script_editor() const { … }
SubViewport *EditorInterface::get_editor_viewport_2d() const { … }
SubViewport *EditorInterface::get_editor_viewport_3d(int p_idx) const { … }
void EditorInterface::set_main_screen_editor(const String &p_name) { … }
void EditorInterface::set_distraction_free_mode(bool p_enter) { … }
bool EditorInterface::is_distraction_free_mode_enabled() const { … }
bool EditorInterface::is_multi_window_enabled() const { … }
float EditorInterface::get_editor_scale() const { … }
void EditorInterface::popup_dialog(Window *p_dialog, const Rect2i &p_screen_rect) { … }
void EditorInterface::popup_dialog_centered(Window *p_dialog, const Size2i &p_minsize) { … }
void EditorInterface::popup_dialog_centered_ratio(Window *p_dialog, float p_ratio) { … }
void EditorInterface::popup_dialog_centered_clamped(Window *p_dialog, const Size2i &p_size, float p_fallback_ratio) { … }
String EditorInterface::get_current_feature_profile() const { … }
void EditorInterface::set_current_feature_profile(const String &p_profile_name) { … }
void EditorInterface::popup_node_selector(const Callable &p_callback, const TypedArray<StringName> &p_valid_types, Node *p_current_value) { … }
void EditorInterface::popup_property_selector(Object *p_object, const Callable &p_callback, const PackedInt32Array &p_type_filter, const String &p_current_value) { … }
void EditorInterface::_node_selected(const NodePath &p_node_path, const Callable &p_callback) { … }
void EditorInterface::_node_selection_canceled(const Callable &p_callback) { … }
void EditorInterface::_property_selected(const String &p_property_name, const Callable &p_callback) { … }
void EditorInterface::_property_selection_canceled(const Callable &p_callback) { … }
void EditorInterface::_call_dialog_callback(const Callable &p_callback, const Variant &p_selected, const String &p_context) { … }
FileSystemDock *EditorInterface::get_file_system_dock() const { … }
void EditorInterface::select_file(const String &p_file) { … }
Vector<String> EditorInterface::get_selected_paths() const { … }
String EditorInterface::get_current_path() const { … }
String EditorInterface::get_current_directory() const { … }
EditorInspector *EditorInterface::get_inspector() const { … }
void EditorInterface::inspect_object(Object *p_obj, const String &p_for_property, bool p_inspector_only) { … }
void EditorInterface::edit_resource(const Ref<Resource> &p_resource) { … }
void EditorInterface::edit_node(Node *p_node) { … }
void EditorInterface::edit_script(const Ref<Script> &p_script, int p_line, int p_col, bool p_grab_focus) { … }
void EditorInterface::open_scene_from_path(const String &scene_path) { … }
void EditorInterface::reload_scene_from_path(const String &scene_path) { … }
Node *EditorInterface::get_edited_scene_root() const { … }
PackedStringArray EditorInterface::get_open_scenes() const { … }
Error EditorInterface::save_scene() { … }
void EditorInterface::save_scene_as(const String &p_scene, bool p_with_preview) { … }
void EditorInterface::mark_scene_as_unsaved() { … }
void EditorInterface::save_all_scenes() { … }
void EditorInterface::play_main_scene() { … }
void EditorInterface::play_current_scene() { … }
void EditorInterface::play_custom_scene(const String &scene_path) { … }
void EditorInterface::stop_playing_scene() { … }
bool EditorInterface::is_playing_scene() const { … }
String EditorInterface::get_playing_scene() const { … }
void EditorInterface::set_movie_maker_enabled(bool p_enabled) { … }
bool EditorInterface::is_movie_maker_enabled() const { … }
#ifdef TOOLS_ENABLED
void EditorInterface::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const { … }
#endif
void EditorInterface::_bind_methods() { … }
void EditorInterface::create() { … }
void EditorInterface::free() { … }
EditorInterface::EditorInterface() { … }