UEditorEngine::OnSwitchWorldForSlatePieWindow

Hack to switch worlds for the PIE window before and after a slate event

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/PlayLevel.cpp

Syntax

int32 OnSwitchWorldForSlatePieWindow
(
    int32 WorldID
)

Remarks

Hack to switch worlds for the PIE window before and after a slate event

Returns

The ID of the world to restore later or -1 if no world to restore

Parameters

Parameter

Description

WorldID

The id of the world to restore or -1 if no world

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