C4 Engine
C4 Engine API Documentation

class Editor

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

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.
Constructor

Editor(const char *name);

Parameters
name The resource name of the world. If this is nullptr, then a new empty scene is created.
Description
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.