Godot editor's interface.
EditorInterface gives you control over Godot editor's window. It allows customizing the window, saving and (re-)loading scenes, rendering mesh previews, inspecting and editing resources and objects, and provides access to [EditorSettings], [EditorFileSystem], [EditorResourcePreview], [ScriptEditor], the editor viewport, and information about scenes.
[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorPlugin.get_editor_interface].
Edits the given [Resource].
Returns the main container of Godot editor's window. You can use it, for example, to retrieve the size of the container and place your controls accordingly.
Returns the edited (current) scene's root [Node].
Returns the [EditorSettings].
Returns the editor [Viewport].
Returns an [Array] with the file paths of the currently opened scenes.
Returns the [EditorFileSystem].
Returns the [EditorResourcePreview].
Returns the [ScriptEditor].
Returns the [EditorSelection].
Shows the given property on the given [code]object[/code] in the Editor's Inspector dock.
Returns the enabled status of a plugin. The plugin name is the same as its directory name.
Returns mesh previews rendered at the given size as an [Array] of [Texture2D]s.
Opens the scene at the given path.
Reloads the scene at the given path.
Saves the scene. Returns either [code]OK[/code] or [code]ERR_CANT_CREATE[/code] (see [@GlobalScope] constants).
Saves the scene as a file at [code]path[/code].
Selects the file, with the path provided by [code]file[/code], in the FileSystem dock.
Sets the enabled status of a plugin. The plugin name is the same as its directory name.
If [code]true[/code], enables distraction-free mode which hides side docks to increase the space available for the main view.