Navigation
API > API/Runtime > API/Runtime/SlateCore
An FPopupLayer hosts the pop-up content which could be anything you want to appear on top of a widget. The widget must understand how to host pop-ups to make use of this.
| Name | FPopupLayer |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
Syntax
class FPopupLayer : public TSharedFromThis< FPopupLayer >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FPopupLayer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPopupLayer
(
const TSharedRef< SWidget >& InitHostWidget, |
Widgets/SWidget.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPopupLayer() |
Widgets/SWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HostWidget | TSharedRef< SWidget > | Widgets/SWidget.h | ||
| PopupContent | TSharedRef< SWidget > | Widgets/SWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateRect GetAbsoluteClientRect() |
Widgets/SWidget.h | ||
virtual TSharedRef< SWidget > GetContent() |
Widgets/SWidget.h | ||
virtual TSharedRef< SWidget > GetHost() |
Widgets/SWidget.h | ||
void Remove() |
Widgets/SWidget.h |