Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Editor > FActorLabelUtilities
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include | #include "Editor/EditorEngine.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
static void RenameExistingActor
&40;
AActor &42; Actor,
const FString & NewActorLabel,
bool bMakeUnique
&41;
Remarks
Does an explicit actor rename. In addition to changing the label this will also fix any soft references pointing to it
Parameters
Name | Description |
---|---|
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 |