UWorld::GetActiveLevelCollection

Returns the level collection which currently has its context set on this world.

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 FLevelCollection * GetActiveLevelCollection() const

Remarks

Returns the level collection which currently has its context set on this world. May be null. If non-null, this implies that execution is currently within the scope of an FScopedLevelCollectionContextSwitch for this world.

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