Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FActorLabelUtilities
Description
Does an explicit actor rename. In addition to changing the label this will also fix any soft references pointing to it
| Name | RenameExistingActor |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
static void RenameExistingActor
(
AActor * Actor,
const FString & NewActorLabel,
bool bMakeUnique
)
Parameters
| Name | Remarks |
|---|---|
| Actor | The actor to change the label of |
| NewActorLabel | The new label string to assign to the actor. If empty, the actor will have a default label. |
| bMakeUnique | If true, it will call SetActorLabelUnique, if false it will use the exact label specified |