SWindow::AddOverlaySlot

Adds content to draw on top of the entire 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

SOverlay::FScopedWidgetSlotArguments AddOverlaySlot
(
    const int32 ZOrder
)

Remarks

Adds content to draw on top of the entire window

Returns

The added overlay slot so that it can be configured and populated

Parameters

Parameter

Description

InZOrder

Z-order to use for this widget