class

IEditorUtilityHost

Module
EditorFramework
Header
#include "EditorFramework/EditorUtilityHost.h"
Namespace
Mowo

Constructors

SignatureNameDescription
virtual ~IEditorUtilityHost() = default~IEditorUtilityHost

Public functions

ReturnsNameDescription
Scene*EditedSceneThe level the editor has open; null when none is.
boolIsEditing
std::vector<EntityID>SelectedEntities
EntityIDPrimaryEntity
std::vector<std::string>SelectedAssets
voidSetSelectedEntities
boolBeginTransactionOpens one undo entry labelled label: every bus operation of the run folds into it, and the selected actors' ECS components are compared at EndTransaction so a script that writes an actor directly is undoable too.
voidEndTransaction
voidNotifySceneEdited
voidReportOne entry on the Message Log's Scripts page.
std::vector<FEditorUtilityVerb>AutomationVerbs
boolRunAutomationLineRuns one non-yielding automation command line against the editor; on failure error says why.

Function details

~IEditorUtilityHost

C++
virtual ~IEditorUtilityHost() = default

EditedScene

C++
virtual Scene* EditedScene() = 0

The level the editor has open; null when none is.

IsEditing

C++
virtual bool IsEditing() const = 0

SelectedEntities

C++
virtual std::vector<EntityID> SelectedEntities() const = 0

PrimaryEntity

C++
virtual EntityID PrimaryEntity() const = 0

SelectedAssets

C++
virtual std::vector<std::string> SelectedAssets() const = 0

SetSelectedEntities

C++
virtual void SetSelectedEntities(const std::vector<EntityID>& entities, EntityID primary) = 0

BeginTransaction

C++
virtual bool BeginTransaction(const std::string& label) = 0

Opens one undo entry labelled label: every bus operation of the run folds into it, and the selected actors' ECS components are compared at EndTransaction so a script that writes an actor directly is undoable too. False when nothing can be edited (no level, a Play session); the run then does not start. Nests.

EndTransaction

C++
virtual void EndTransaction() = 0

NotifySceneEdited

C++
virtual void NotifySceneEdited() = 0

Report

C++
virtual void Report(EEditorUtilitySeverity severity, const std::string& source, const std::string& text, const std::string& assetPath, const std::string& actorUuid) = 0

One entry on the Message Log's Scripts page. A non-empty assetPath or actorUuid becomes a link the click navigates to.

AutomationVerbs

C++
virtual std::vector<FEditorUtilityVerb> AutomationVerbs() const = 0

RunAutomationLine

C++
virtual bool RunAutomationLine(const std::string& line, std::string& error) = 0

Runs one non-yielding automation command line against the editor; on failure error says why.

Generated from EditorFramework/EditorUtilityHost.h via editorframework.json · Dec 5, 2026Version 1.1.0