Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Subsystems > API/Editor/UnrealEd/Subsystems/UAssetEditorSubsystem
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Subsystems/AssetEditorSubsystem.h |
| Include | #include "Subsystems/AssetEditorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/AssetEditorSubsystem.cpp |
UEdMode * CreateEditorModeWithToolsOwner
(
FEditorModeID ModeID,
FEditorModeTools & Owner
)
Remarks
Creates a scriptable editor mode based on ID name, which will be owned by the given Owner, if that name exists in the map of editor modes found at system startup. A pointer to the created UEdMode or nullptr, if the given ModeID does not exist in the set of known modes.
Parameters
| Name | Description |
|---|---|
| ModeID | ID of the mode to create. |
| Owner | The tools ownership context that the mode should be created under. |