SWindow::SwitchWorlds

Hack to switch worlds

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

int32 SwitchWorlds
(
    int32 WorldId
) const

Remarks

Hack to switch worlds

Parameters

Parameter

Description

WorldId

User ID for a world that should be restored or -1 if no restore

The

ID of the world restore later

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