SWindow::SetFullWindowOverlayContent

Sets a widget to use as a full window overlay, or clears an existing widget if set.

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 SetFullWindowOverlayContent
(
    TSharedPtr< SWidget > InContent
)

Remarks

Sets a widget to use as a full window overlay, or clears an existing widget if set. When set, this widget will be drawn on top of all other window content.

Parameters

Parameter

Description

InContent

The widget to use for full window overlay content, or nullptr for no overlay