Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > FScopedLevelCollectionContextSwitch > FScopedLevelCollectionContextSwitch
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 |
FScopedLevelCollectionContextSwitch
(
int32 InLevelCollectionIndex,
UWorld *const InWorld
)
Remarks
Constructor that will save the current relevant values of InWorld and set the collection's context values for InWorld.
Parameters
Name | Description |
---|---|
InLevelCollectionIndex | The index of the collection to use |
InWorld | The world on which to set the context. |