Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/ArrangedChildren.h |
| Include | #include "Layout/ArrangedChildren.h" |
Syntax
class FArrangedChildren
Remarks
The results of an ArrangeChildren are always returned as an FArrangedChildren. FArrangedChildren supports a filter that is useful for excluding widgets with unwanted visibilities.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArrangedChildren
(
EVisibility InVisibilityFilter, |
Construct a new container for arranged children that only accepts children that match the VisibilityFilter. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Accepts
(
EVisibility InVisibility |
||
| void | AddWidget
(
EVisibility VisibilityOverride, |
Add an arranged widget (i.e. widget and its resulting geometry) to the list of Arranged children. | |
| void | AddWidget
(
const FArrangedWidget& InWidgetGeometry |
Add an arranged widget (i.e. widget and its resulting geometry) to the list of Arranged children based on the the visibility filter and the arranged widget's visibility | |
| bool | |||
| void | Append
(
const FArrangedChildren& Source |
||
| void | Empty () |
||
| int32 | FindItemIndex
(
const FArrangedWidget& ItemToFind |
||
| int32 | FindLastByPredicate
(
const PredicateType& Pred |
||
| EVisibility | GetFilter () |
||
| const FArrangedWidgetArray & | |||
| FArrangedWidgetArray & | |||
| FArrangedChildren | Hittest2_FromArray
(
const TArrayView< FWidgetAndPointer > InWidgets |
||
| int32 | IndexOfByPredicate
(
const PredicateType& Pred |
||
| void | InsertWidget
(
EVisibility VisibilityOverride, |
||
| void | InsertWidget
(
const FArrangedWidget& InWidgetGeometry, |
||
| bool | IsValidIndex
(
int32 Index |
||
| FArrangedWidget & | Last () |
||
| const FArrangedWidget & | Last () |
||
| int32 | Num () |
||
| void | Remove
(
int32 Index, |
||
| void | Reverse () |
Reverse the order of the arranged children | |
| void | SetFilter
(
EVisibility InVisibility |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArrangedWidget & | operator[]
(
int32 Index |
||
| const FArrangedWidget & | operator[]
(
int32 Index |
Typedefs
| Name | Description |
|---|---|
| FArrangedWidgetArray |