Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
int32 GetActiveLevelCollectionIndex&40;&41; 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.