UEditorUtilityLibrary

Expose editor utility functions to Blutilities.

Unreal Engine C++ API Reference > Editor > Blutility

Inheritance Hierarchy

References

   
Module Blutility
Header /Engine/Source/Editor/Blutility/Public/EditorUtilityLibrary.h
Include #include "EditorUtilityLibrary.h"

Syntax

class UEditorUtilityLibrary : public [UBlueprintFunctionLibrary](API\Runtime\Engine\Kismet\UBlueprintFunctionLibrary)  

Remarks

Expose editor utility functions to Blutilities.

Constructors

Type Name Description
  UEditorUtilityLibrary ( const FObjectInitializer& ObjectIn... )  

Functions

Type Name Description
void ConvertToEditorUtilityWidget ( UWidgetBlueprint* WidgetBP )  
AActor * GetActorReference ( FString PathToActor ) Attempts to find the actor specified by PathToActor in the current editor world
FContentBrow... GetCurrentContentBrowserItemPath () Gets the current content browser path if one is open, whether it is internal or virtual.
bool GetCurrentContentBrowserPath ( FString& OutPath ) Attempts to get the path for the active content browser, returns false if there is no active content browser or if it was a virtual path
TArray< FAss... GetSelectedAssetData () Gets the set of currently selected asset data.
TArray< UObj... GetSelectedAssets () Gets the set of currently selected assets.
TArray< UObj... GetSelectedAssetsOfClass ( UClass* AssetClass )  
TArray< UCla... GetSelectedBlueprintClasses () Gets the set of currently selected classes.
TArray< FStr... GetSelectedFolderPaths () Gets the path to the currently selected folder in the content browser.
TArray< FStr... GetSelectedPathViewFolderPaths () Returns the folders that are selected in the path view for the content browser.
void GetSelectionBounds ( FVector& Origin, FVector& BoxExtent, float& SphereRadius )  
TArray< AAct... GetSelectionSet ()  
void RenameAsset ( UObject* Asset, const FString& NewName ) Renames an asset (cannot move folders)
void SyncBrowserToFolders ( const TArray< FString >& FolderLis... ) Sync the Content Browser to the given folder(s)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library