AActor::SetActorLabel

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