Struct EditorEvents

Struct Documentation

struct EditorEvents

Public Functions

DEFINE_EVENT(EditorAutoSave)

Auto-saving event.

DEFINE_EVENT(EditorSceneIsClosing)

Close any scene opened in Inspector.

DEFINE_EVENT(EditorCreateNewScene, String)

Create new scene from scene file path.

DEFINE_EVENT(EditorCreateNewFile, String)

Create new file at path.

DEFINE_EVENT(EditorOpenFile, String, int)

Open file at the path passed in inside File Viewer with the ResourceFile::Type to load it as.

DEFINE_EVENT(EditorEditFile, String)

Edit file at the path passed in inside File Editor.

DEFINE_EVENT(EditorOpenScene, Scene *)

Open scene in Inspector.

DEFINE_EVENT(EditorSaveBeforeQuit)

Set editor to ask to save before quitting.

DEFINE_EVENT(EditorSaveAll)

Set editor to save all.

DEFINE_EVENT(EditorReset)

Reset editor window states.