Navigation
API > API/Runtime > API/Runtime/SlateCore
The results of an ArrangeChildren are always returned as an FArrangedChildren. FArrangedChildren supports a filter that is useful for excluding widgets with unwanted visibilities.
| Name | FArrangedChildren |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/ArrangedChildren.h |
| Include Path | #include "Layout/ArrangedChildren.h" |
Syntax
class FArrangedChildren
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArrangedChildren
(
EVisibility InVisibilityFilter, |
Construct a new container for arranged children that only accepts children that match the VisibilityFilter. | Layout/ArrangedChildren.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FArrangedWidgetArray | TArray< FArrangedWidget, TInlineAllocator< 4 > > | Layout/ArrangedChildren.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Array | FArrangedWidgetArray | We duplicate parts of TArray's interface here! Inheriting from "public TArray |
Layout/ArrangedChildren.h | |
| bAllow3DWidgets | bool | Layout/ArrangedChildren.h | ||
| VisibilityFilter | EVisibility | Layout/ArrangedChildren.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Accepts
(
EVisibility InVisibility |
Layout/ArrangedChildren.h | ||
void AddWidget
(
EVisibility VisibilityOverride, |
Add an arranged widget (i.e. widget and its resulting geometry) to the list of Arranged children. | Layout/ArrangedChildren.h | |
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 | Layout/ArrangedChildren.h | |
bool Allows3DWidgets() |
Layout/ArrangedChildren.h | ||
void Append
(
const FArrangedChildren& Source |
Layout/ArrangedChildren.h | ||
void Empty() |
Layout/ArrangedChildren.h | ||
int32 FindItemIndex
(
const FArrangedWidget& ItemToFind |
Layout/ArrangedChildren.h | ||
int32 FindLastByPredicate
(
const PredicateType& Pred |
Layout/ArrangedChildren.h | ||
EVisibility GetFilter() |
Layout/ArrangedChildren.h | ||
const FArrangedWidgetArray & GetInternalArray () |
Layout/ArrangedChildren.h | ||
FArrangedWidgetArray & GetInternalArray () |
Layout/ArrangedChildren.h | ||
int32 IndexOfByPredicate
(
const PredicateType& Pred |
Layout/ArrangedChildren.h | ||
void InsertWidget
(
EVisibility VisibilityOverride, |
Layout/ArrangedChildren.h | ||
void InsertWidget
(
const FArrangedWidget& InWidgetGeometry, |
Layout/ArrangedChildren.h | ||
bool IsValidIndex
(
int32 Index |
Layout/ArrangedChildren.h | ||
FArrangedWidget & Last () |
Layout/ArrangedChildren.h | ||
const FArrangedWidget & Last () |
Layout/ArrangedChildren.h | ||
int32 Num() |
Layout/ArrangedChildren.h | ||
void Remove
(
int32 Index, |
Layout/ArrangedChildren.h | ||
void Reserve
(
FArrangedWidgetArray::SizeType Number |
Reserves sufficient memory for the given number of arranged widgets. | Layout/ArrangedChildren.h | |
void Reverse() |
Reverse the order of the arranged children | Layout/ArrangedChildren.h | |
void SetFilter
(
EVisibility InVisibility |
Layout/ArrangedChildren.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FArrangedChildren Hittest2_FromArray
(
const TArrayView< FWidgetAndPointer > InWidgets |
Layout/ArrangedChildren.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArrangedWidget & operator[]
(
int32 Index |
Layout/ArrangedChildren.h | ||
const FArrangedWidget & operator[]
(
int32 Index |
Layout/ArrangedChildren.h |