SWindow::SetNativeWindow

Sets the native OS window associated with this [SWindow](API\Runtime\SlateCore\Widgets\SWindow)

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 SetNativeWindow
(
    TSharedRef< FGenericWindow > InNativeWindow
)

Remarks

Sets the native OS window associated with this SWindow

Parameters

Parameter

Description

InNativeWindow

The native window