Navigation
API > API/Editor > API/Editor/Blutility
| Name | UEditorUtilitySubsystem |
| Type | class |
| Header File | /Engine/Source/Editor/Blutility/Public/EditorUtilitySubsystem.h |
| Include Path | #include "EditorUtilitySubsystem.h" |
Syntax
UCLASS (MinimalAPI, Config=EditorPerProjectUserSettings)
class UEditorUtilitySubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UEditorUtilitySubsystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEditorUtilitySubsystem() |
EditorUtilitySubsystem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LoadedUIs | TArray< FSoftObjectPath > | EditorUtilitySubsystem.h |
|
|
| OnBeginPIE | FOnEditorUtilityPIEEvent | Expose Begin PIE to blueprints. | EditorUtilitySubsystem.h |
|
| OnEndPIE | FOnEditorUtilityPIEEvent | Expose End PIE to blueprints. | EditorUtilitySubsystem.h |
|
| RegisteredTabs | TMap< FName, UEditorUtilityWidgetBlueprint * > | EditorUtilitySubsystem.h | ||
| RegisteredTabsByGeneratedClass | TMap< FName, UWidgetBlueprintGeneratedClass * > | EditorUtilitySubsystem.h | ||
| StartupObjects | TArray< FSoftObjectPath > | EditorUtilitySubsystem.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTaskStack | TArray< TObjectPtr< UEditorUtilityTask > > | EditorUtilitySubsystem.h |
|
|
| CancelAllTasksCommandObject | IConsoleObject * | EditorUtilitySubsystem.h | ||
| ObjectInstances | TMap< TObjectPtr< UObject >, TObjectPtr< UObject > > | EditorUtilitySubsystem.h | ||
| PendingTasks | TMap< TObjectPtr< UEditorUtilityTask >, TArray< TObjectPtr< UEditorUtilityTask > > > | AddReferencedObjects is used to report these references to GC. | EditorUtilitySubsystem.h | |
| ReferencedObjects | TSet< TObjectPtr< UObject > > | List of objects that are being kept alive by this subsystem. | EditorUtilitySubsystem.h | |
| RunTaskCommandBuffer | TQueue< TArray< FString > > | EditorUtilitySubsystem.h | ||
| RunTaskCommandObject | IConsoleObject * | EditorUtilitySubsystem.h | ||
| TickerHandle | FTSTicker::FDelegateHandle | EditorUtilitySubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanRun
(
UObject* Asset |
EditorUtilitySubsystem.h |
|
|
bool CloseTabByID
(
FName NewTabID |
Given an ID for a tab, try to find and close an existing tab. | EditorUtilitySubsystem.h |
|
virtual void Deinitialize() |
EditorUtilitySubsystem.h | ||
bool DoesTabExist
(
FName NewTabID |
Given an ID for a tab, try to find an existing tab. Returns true if it found a tab. | EditorUtilitySubsystem.h |
|
UEditorUtilityWidget * FindUtilityWidgetFromBlueprint
(
UEditorUtilityWidgetBlueprint* InBlueprint |
Given an editor utility widget blueprint, get the widget it creates. | EditorUtilitySubsystem.h |
|
void HandleStartup() |
EditorUtilitySubsystem.h | ||
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
EditorUtilitySubsystem.h | ||
void MainFrameCreationFinished
(
TSharedPtr< SWindow > InRootWindow, |
EditorUtilitySubsystem.h | ||
void RegisterAndExecuteTask
(
UEditorUtilityTask* NewTask, |
EditorUtilitySubsystem.h |
|
|
void RegisterReferencedObject
(
UObject* ObjectToReference |
EditorUtilitySubsystem.h | ||
void RegisterTabAndGetID
(
UEditorUtilityWidgetBlueprint* InBlueprint, |
EditorUtilitySubsystem.h |
|
|
void RegisterTabAndGetIDGeneratedClass
(
UWidgetBlueprintGeneratedClass* InGeneratedWidgetBlueprint, |
EditorUtilitySubsystem.h |
|
|
void ReleaseInstanceOfAsset
(
UObject* Asset |
Allow startup object to be garbage collected. | EditorUtilitySubsystem.h |
|
void RemoveTaskFromActiveList
(
UEditorUtilityTask* Task |
EditorUtilitySubsystem.h | ||
UEditorUtilityWidget * SpawnAndRegisterTab
(
UEditorUtilityWidgetBlueprint* InBlueprint |
EditorUtilitySubsystem.h |
|
|
UEditorUtilityWidget * SpawnAndRegisterTabAndGetID
(
UEditorUtilityWidgetBlueprint* InBlueprint, |
EditorUtilitySubsystem.h |
|
|
UEditorUtilityWidget * SpawnAndRegisterTabAndGetIDGeneratedClass
(
UWidgetBlueprintGeneratedClass* InGeneratedWidgetBlueprint, |
EditorUtilitySubsystem.h |
|
|
UEditorUtilityWidget * SpawnAndRegisterTabGeneratedClass
(
UWidgetBlueprintGeneratedClass* InGeneratedWidgetBlueprint |
EditorUtilitySubsystem.h |
|
|
UEditorUtilityWidget * SpawnAndRegisterTabWithId
(
UEditorUtilityWidgetBlueprint* InBlueprint, |
Unlike SpawnAndRegisterTabAndGetID allows spawn tab while providing TabID from Python scripts or BP | EditorUtilitySubsystem.h |
|
UEditorUtilityWidget * SpawnAndRegisterTabWithIdGeneratedClass
(
UWidgetBlueprintGeneratedClass* InGeneratedWidgetBlueprint, |
Unlike SpawnAndRegisterTabAndGetID allows spawn tab while providing TabID from Python scripts or BP | EditorUtilitySubsystem.h |
|
bool SpawnRegisteredTabByID
(
FName NewTabID |
Given an ID for a tab, try to find a tab spawner that matches, and then spawn a tab. | EditorUtilitySubsystem.h |
|
bool TryRun
(
UObject* Asset |
EditorUtilitySubsystem.h |
|
|
bool TryRunClass
(
UClass* ObjectClass |
EditorUtilitySubsystem.h |
|
|
void UnregisterReferencedObject
(
UObject* ObjectToReference |
EditorUtilitySubsystem.h | ||
bool UnregisterTabByID
(
FName TabID |
Given an ID for a tab, try to close and unregister a tab that was registered through this subsystem | EditorUtilitySubsystem.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CancelAllTasksCommand
(
const TArray< FString >& Params, |
EditorUtilitySubsystem.h | ||
UClass * FindBlueprintClass
(
const FString& TargetNameRaw |
EditorUtilitySubsystem.h | ||
UClass * FindClassByName
(
const FString& RawTargetName |
EditorUtilitySubsystem.h | ||
UEditorUtilityTask * GetActiveTask() |
EditorUtilitySubsystem.h | ||
void HandleDynamicStartupAssets
(
TConstArrayView< FAssetData > InAssets |
EditorUtilitySubsystem.h | ||
void HandleOnBeginPIE
(
const bool bIsSimulating |
Called when Play in Editor begins. | EditorUtilitySubsystem.h | |
void HandleOnEndPIE
(
const bool bIsSimulating |
Called when Play in Editor stops. | EditorUtilitySubsystem.h | |
void HandleStartupAssets() |
EditorUtilitySubsystem.h | ||
void OnBlueprintGeneratedClassUnloaded
(
UBlueprintGeneratedClass* BPGC |
EditorUtilitySubsystem.h | ||
void OnMapChanged
(
UWorld* World, |
EditorUtilitySubsystem.h | ||
void OnSpawnedFromGeneratedClassTabClosed
(
TSharedRef< SDockTab > TabBeingClosed |
EditorUtilitySubsystem.h | ||
void ProcessRunTaskCommands() |
EditorUtilitySubsystem.h | ||
void RunTaskCommand
(
const TArray< FString >& Params, |
EditorUtilitySubsystem.h | ||
TSharedRef< SDockTab > SpawnEditorUITabFromGeneratedClass
(
const FSpawnTabArgs& SpawnTabArgs, |
EditorUtilitySubsystem.h | ||
void StartTask
(
UEditorUtilityTask* Task |
EditorUtilitySubsystem.h | ||
bool Tick
(
float DeltaTime |
EditorUtilitySubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
EditorUtilitySubsystem.h |