FArrangedWidget

A pair: Widget and its Geometry.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FArrangedWidget

FWidgetAndPointer

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/ArrangedWidget.h

Include

#include "Layout/ArrangedWidget.h"

Syntax

class FArrangedWidget

Remarks

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

Variables

Name Description

Public variable

FGeometry

 

Geometry

The widget's geometry.

Public variable

TSharedRef< SWi...

 

Widget

The widget that is being arranged.

Constructors

Name Description

Public function

FArrangedWidget

(
    TSharedRef< SWidget > InWidget,
    const FGeometry& InGeometry
)

Functions

Name Description

Public function Static

const FArran...

 

GetNullWidget()

Public function Const

SWidget *...

 

GetWidgetPtr()

The widget that is being arranged.

Public function Const

FString

 

ToString()

Gets the string representation of the Widget and corresponding Geometry.

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FArrangedWidget& Other
)

Compares this widget arrangement with another for equality.