class
IEditorUtilityHost
- Module
- EditorFramework
- Header
#include "EditorFramework/EditorUtilityHost.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
virtual ~IEditorUtilityHost() = default | ~IEditorUtilityHost |
Public functions
| Returns | Name | Description |
|---|---|---|
Scene* | EditedScene | The level the editor has open; null when none is. |
bool | IsEditing | |
std::vector<EntityID> | SelectedEntities | |
EntityID | PrimaryEntity | |
std::vector<std::string> | SelectedAssets | |
void | SetSelectedEntities | |
bool | BeginTransaction | 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. |
void | EndTransaction | |
void | NotifySceneEdited | |
void | Report | One entry on the Message Log's Scripts page. |
std::vector<FEditorUtilityVerb> | AutomationVerbs | |
bool | RunAutomationLine | Runs one non-yielding automation command line against the editor; on failure error says why. |
Function details
~IEditorUtilityHost
C++
virtual ~IEditorUtilityHost() = defaultEditedScene
C++
virtual Scene* EditedScene() = 0The level the editor has open; null when none is.
IsEditing
C++
virtual bool IsEditing() const = 0SelectedEntities
C++
virtual std::vector<EntityID> SelectedEntities() const = 0PrimaryEntity
C++
virtual EntityID PrimaryEntity() const = 0SelectedAssets
C++
virtual std::vector<std::string> SelectedAssets() const = 0SetSelectedEntities
C++
virtual void SetSelectedEntities(const std::vector<EntityID>& entities, EntityID primary) = 0BeginTransaction
C++
virtual bool BeginTransaction(const std::string& label) = 0Opens 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() = 0NotifySceneEdited
C++
virtual void NotifySceneEdited() = 0Report
C++
virtual void Report(EEditorUtilitySeverity severity, const std::string& source, const std::string& text, const std::string& assetPath, const std::string& actorUuid) = 0One 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 = 0RunAutomationLine
C++
virtual bool RunAutomationLine(const std::string& line, std::string& error) = 0Runs 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