Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorAssetSubsystem
Description
Rename an asset that is already loaded. Equivalent to a Move operation. Will try to checkout the file.
| Name | RenameLoadedAsset |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorAssetSubsystem.h |
| Include Path | #include "Subsystems/EditorAssetSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorAssetSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset")
bool RenameLoadedAsset
(
UObject * SourceAsset,
const FString & DestinationAssetPath
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| SourceAsset | Asset that we want to copy from. |
| DestinationAssetPath | Asset Path of the duplicated asset. |