FSlateWindowHelper::CheckWorkAreaForWindows

Checks whether any of the given windows overlap the specified work area.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateWindowHelper.h

Include

#include "Application/SlateWindowHelper.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Application/SlateWindowHelper.cpp

Syntax

static bool CheckWorkAreaForWindows
(
    const TArray< TSharedRef< SWindow > > & WindowsToSearch,
    const FSlateRect & WorkAreaRect
)

Remarks

Checks whether any of the given windows overlap the specified work area.

Returns

true if at least one window overlaps with the work area, false otherwise.

Parameters

Parameter

Description

WindowsToSearch

The collection of windows to check.

WorkAreaRect

The work area to check.