Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Application/SlateWindowHelper.h |
Include |
#include "Application/SlateWindowHelper.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Application/SlateWindowHelper.cpp |
static TSharedPtr< SWindow > FindWindowByPlatformWindow
(
const TArray< TSharedRef< SWindow >> & WindowsToSearch,
const TSharedRef< FGenericWindow > & PlatformWindow
)
Searches the given collection of windows to find the Slate window that corresponds to the specified platform window.
The corresponding Slate window, or nullptr if it was not found.
Parameter |
Description |
---|---|
WindowsToSearch |
The collection of windows to search. |
PlatformWindow |
The platform window to find the Slate window for. |