C4 Engine
C4 Engine API Documentation

class Editor

Defined in:  C4WorldEditor.h
The Editor class represents a primary World Editor window.

class Editor : public Window, public Observable<Editor, const EditorEvent&>, public ListElement<Editor>

Member Functions
Editor::GetResourceName Returns the resource name for an editor window.
Editor::ImportScene Imports a scene into an editor window.

Editor(const char *name);

name The resource name of the world. If this is nullptr, then a new empty scene is created.
The Editor class manages the primary World Editor window for a scene.
Base Classes
Window An Editor is a specific type of window.
Observable<Editor, const EditorEvent&> Editors can be observed for various events.
ListElement<Editor> Used internally by the World Editor.