class MAGES::SceneGraph::Editor::SceneGraphEditorWindow

Overview

The scene graph editor window. More…

class SceneGraphEditorWindow: public EditorWindow
{
public:
    // properties

    bool AnyOpen;

    // events

    static event WindowClosed();

    // methods

    SceneGraphEditorWindow();
    void OpenHome();
    void OpenAsset(SceneGraphData sceneGraphData);
    void OpenRuntime(GraphRunner runner);
    void OpenRuntime(SceneGraphData data);
    override void SaveChanges();
    static void OpenGraphRunner(GraphRunner runner);
    static void OpenWelcomeScreen();
    static void OpenSceneAsset();
    static void OpenFloating(SceneGraphData data);
};

Detailed Documentation

The scene graph editor window.

Properties

bool AnyOpen

Gets a value indicating whether at least one scene graph editor window is currently open.

Events

static event WindowClosed()

Raised whenever a scene graph editor window is closed. AnyOpen reflects the post-close state when this fires. Lets external editor tooling (e.g. scene-view authoring tools tied to an action in the graph) tear down when the graph the user was editing goes away.

Methods

SceneGraphEditorWindow()

Initializes a new instance of the SceneGraphEditorWindow class.

void OpenHome()

Opens home screen.

void OpenAsset(SceneGraphData sceneGraphData)

Initializes editor window for a specific scenegraph.

Parameters:

sceneGraphData

The data instance (from assets) to open.

void OpenRuntime(GraphRunner runner)

Open a graph runner at runtime.

Parameters:

runner

The runner.

static void OpenGraphRunner(GraphRunner runner)

Opens the editor window for a graph runner at runtime.

Parameters:

runner

The runner.

static void OpenWelcomeScreen()

Opens welcome screen.

static void OpenSceneAsset()

Opens the scenegraph that exists on the hub in the scene.