SWindow::SwitchWorlds

Hack to switch worlds

Choose your operating system:

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