Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ActorEditor.cpp |
void SetActorLabel
&40;
const FString & NewActorLabel,
bool bMarkDirty
&41;
Remarks
Assigns a new label to this actor. Actor labels are only available in development builds.
Parameters
| Name | Description |
|---|---|
| NewActorLabel | The new label string to assign to the actor. If empty, the actor will have a default label. |
| bMarkDirty | If true the actor's package will be marked dirty for saving. Otherwise it will not be. You should pass false for this parameter if dirtying is not allowed (like during loads) |