AActor::SetActorLabel

Assigns a new label to this actor. Actor labels are only available in development builds.

Windows
MacOS
Linux

Syntax

void SetActorLabel
(
    const FString & NewActorLabel,
    bool bMarkDirty
)

Remarks

Assigns a new label to this actor. Actor labels are only available in development builds.

Parameters

Parameter

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)

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/ActorEditor.cpp

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback