ULevelVariantSets::GetWorldContext

Returns the current world, as well as its PIEInstanceID This will break when the engine starts supporting multiple, concurrent worlds

Windows
MacOS
Linux

References

Module

VariantManagerContent

Header

/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/LevelVariantSets.h

Include

#include "LevelVariantSets.h"

Source

/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/LevelVariantSets.cpp

Syntax

UWorld * GetWorldContext
(
    int32 & OutPIEInstanceID
)

Remarks

Returns the current world, as well as its PIEInstanceID This will break when the engine starts supporting multiple, concurrent worlds

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