Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorAssetLibrary
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorAssetLibrary.h |
| Include | #include "EditorAssetLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorAssetLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Asset"&41;
static bool RenameDirectory
&40;
const FString & SourceDirectoryPath,
const FString & DestinationDirectoryPath
&41;
Remarks
Rename assets from the Content Browser that are in the folder. Equivalent to a Move operation. Will try to checkout the files. The Assets will be loaded before being renamed. True if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| SourceDirectoryPath | Directory of the assets that we want to rename from. |
| DestinationDirectoryPath | Directory of the renamed asset. |