UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FArrangedWidget Class Reference

#include <ArrangedWidget.h>

+ Inheritance diagram for FArrangedWidget:

Public Member Functions

 FArrangedWidget (TSharedRef< SWidget > InWidget, const FGeometry &InGeometry)
 
SWidgetGetWidgetPtr () const
 
FString ToString () const
 
bool operator== (const FArrangedWidget &Other) const
 

Static Public Member Functions

static SLATECORE_API const FArrangedWidgetGetNullWidget ()
 

Public Attributes

FGeometry Geometry
 
TSharedRef< SWidgetWidget
 

Detailed Description

A pair: Widget and its Geometry. Widgets populate an list of WidgetGeometries when they arrange their children. See SWidget::ArrangeChildren.

Constructor & Destructor Documentation

◆ FArrangedWidget()

FArrangedWidget::FArrangedWidget ( TSharedRef< SWidget InWidget,
const FGeometry InGeometry 
)
inline

Member Function Documentation

◆ GetNullWidget()

const FArrangedWidget & FArrangedWidget::GetNullWidget ( )
static

◆ GetWidgetPtr()

SWidget * FArrangedWidget::GetWidgetPtr ( ) const
inline

The widget that is being arranged.

◆ operator==()

bool FArrangedWidget::operator== ( const FArrangedWidget Other) const
inline

Compares this widget arrangement with another for equality.

Parameters
OtherThe other arrangement to compare with.
Returns
true if the two arrangements are equal, false otherwise.

◆ ToString()

FString FArrangedWidget::ToString ( ) const

Gets the string representation of the Widget and corresponding Geometry.

Returns
String representation.

Member Data Documentation

◆ Geometry

FGeometry FArrangedWidget::Geometry

The widget's geometry.

◆ Widget

TSharedRef<SWidget> FArrangedWidget::Widget

The widget that is being arranged.


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