UEditorEngine::GetPIEWorldContext

Returns the WorldContext for the PIE world, by default will get the first one which will be the server or simulate instance.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

FWorldContext * GetPIEWorldContext
(
    int32 WorldPIEInstance
)

Remarks

Returns the WorldContext for the PIE world, by default will get the first one which will be the server or simulate instance. You need to iterate the context list if you want all the pie world contexts.

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