Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
Source |
/Engine/Source/Runtime/Engine/Private/World.cpp |
FScopedLevelCollectionContextSwitch
(
const FLevelCollection *const InLevelCollection,
UWorld *const InWorld
)
Constructor that will save the current relevant values of InWorld and set the collection's context values for InWorld. The constructor that takes an index is preferred, but this one still exists for backwards compatibility.
Parameter |
Description |
---|---|
InLevelCollection |
The collection's context to use |
InWorld |
The world on which to set the context. |