Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UActorFactory
Description
Get the default label that should be used for the actor spawned by the given asset (does not include any numeric suffix). For classes or BPs that inherit from AActor this will defer to AActor::GetDefaultActorLabel, and for everything else it will use the asset name.
| Name | GetDefaultActorLabel |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactory.h |
| Include Path | #include "ActorFactories/ActorFactory.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Factories/ActorFactory.cpp |
virtual FString GetDefaultActorLabel
(
UObject * Asset
) const