UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FActorSpawnUtils Struct Reference

#include <World.h>

Static Public Member Functions

static UE_API FName MakeUniqueActorName (ULevel *Level, const UClass *Class, FName BaseName, bool bGloballyUnique)
 
static UE_API bool IsGloballyUniqueName (FName Name)
 
static UE_API FName GetBaseName (FName Name)
 

Member Function Documentation

◆ GetBaseName()

FName FActorSpawnUtils::GetBaseName ( FName  Name)
static

Return the base ename (without any number of globally unique identifier).

◆ IsGloballyUniqueName()

bool FActorSpawnUtils::IsGloballyUniqueName ( FName  Name)
static

Determine if an actor name is globally unique or not.

Parameters
Namethe name to check
Returns
true if the provided name is globally unique

◆ MakeUniqueActorName()

FName FActorSpawnUtils::MakeUniqueActorName ( ULevel Level,
const UClass Class,
FName  BaseName,
bool  bGloballyUnique 
)
static

Function to generate a locally or globally unique actor name. To generate a globally unique name, we store an epoch number in the name number (while maintaining compatibility with fast path name generation, see GFastPathUniqueNameGeneration) and also append a unique user id to the name.

Parameters
Levelthe new actor level
Classthe new actor class
BaseNameoptional base name
bGloballyUniquewhether to create a globally unique name
Returns
generated actor name

The documentation for this struct was generated from the following files: