SWindow::SetOnWorldSwitchHack

Sets the delegate to call when switching worlds in before ticking,drawing, or sending messages to widgets in this window

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

void SetOnWorldSwitchHack
(
    FOnSwitchWorldHack & InOnWorldSwitchHack
)

Remarks

Sets the delegate to call when switching worlds in before ticking,drawing, or sending messages to widgets in this window