UWorld::GetActiveLevelCollectionIndex

Returns the index of 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"

Syntax

int32 GetActiveLevelCollectionIndex() const

Remarks

Returns the index of the level collection which currently has its context set on this world. May be INDEX_NONE. If not INDEX_NONE, 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