UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPopupLayer Class Referenceabstract

#include <SWidget.h>

+ Inheritance diagram for FPopupLayer:

Public Member Functions

 FPopupLayer (const TSharedRef< SWidget > &InitHostWidget, const TSharedRef< SWidget > &InitPopupContent)
 
virtual ~FPopupLayer ()
 
virtual TSharedRef< SWidgetGetHost ()
 
virtual TSharedRef< SWidgetGetContent ()
 
virtual FSlateRect GetAbsoluteClientRect ()=0
 
virtual void Remove ()=0
 
- Public Member Functions inherited from TSharedFromThis< FPopupLayer >
TSharedRef< FPopupLayer, Mode > AsShared ()
 
TSharedRef< FPopupLayer const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FPopupLayer, Mode > AsWeak ()
 
TWeakPtr< FPopupLayer const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< FPopupLayer >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FPopupLayer >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FPopupLayer()

FPopupLayer::FPopupLayer ( const TSharedRef< SWidget > &  InitHostWidget,
const TSharedRef< SWidget > &  InitPopupContent 
)
inline

◆ ~FPopupLayer()

virtual FPopupLayer::~FPopupLayer ( )
inlinevirtual

Member Function Documentation

◆ GetAbsoluteClientRect()

virtual FSlateRect FPopupLayer::GetAbsoluteClientRect ( )
pure virtual

Implemented in FOverlayPopupLayer.

◆ GetContent()

virtual TSharedRef< SWidget > FPopupLayer::GetContent ( )
inlinevirtual

◆ GetHost()

virtual TSharedRef< SWidget > FPopupLayer::GetHost ( )
inlinevirtual

◆ Remove()

virtual void FPopupLayer::Remove ( )
pure virtual

Implemented in FOverlayPopupLayer.


The documentation for this class was generated from the following file: