FScopedLevelCollectionContextSwitch::FScopedLevelCollectionContextSwitch

Constructor that will save the current relevant values of InWorld and set the collection's context values for InWorld.

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

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

Parameter

Description

InLevelCollectionIndex

The index of the collection to use

InWorld

The world on which to set the context.

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