UWorld::GetMapName

Returns the name of the current map, taking into account using a dummy persistent world and loading levels into it via PrepareMapChange.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

const FString GetMapName() const

Remarks

Returns the name of the current map, taking into account using a dummy persistent world and loading levels into it via PrepareMapChange.

Returns

name of the current map

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss