FArrangedChildren

The results of an ArrangeChildren are always returned as an [FArrangedChildren](API\Runtime\SlateCore\Layout\FArrangedChildren).

Windows
MacOS
Linux

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

Name Description

Public function

FArrangedChildren

(
    EVisibility InVisibilityFilter,
    bool bInAllow3DWidgets
)

Construct a new container for arranged children that only accepts children that match the VisibilityFilter.

Functions

Name Description

Public function Const

bool

 

Accepts

(
    EVisibility InVisibility
)

Public function

void

 

AddWidget

(
    EVisibility VisibilityOverride,
    const FArrangedWidget& InWidgetGeo...
)

Add an arranged widget (i.e. widget and its resulting geometry) to the list of Arranged children.

Public function

void

 

AddWidget

(
    const FArrangedWidget& InWidgetGeo...
)

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

Public function Const

bool

 

Allows3DWidgets()

Public function

void

 

Append

(
    const FArrangedChildren& Source
)

Public function

void

 

Empty()

Public function Const

int32

 

FindItemIndex

(
    const FArrangedWidget& ItemToFind
)

Public function Const

int32

 

FindLastByPredicate

(
    const PredicateType& Pred
)

Public function Const

EVisibility

 

GetFilter()

Public function Const

const FArran...

 

GetInternalArray()

Public function

FArrangedWid...

 

GetInternalArray()

Public function Static

FArrangedChi...

 

Hittest2_FromArray

(
    const TArray< FWidgetAndPointer >&...
)

Public function Const

int32

 

IndexOfByPredicate

(
    const PredicateType& Pred
)

Public function

void

 

InsertWidget

(
    EVisibility VisibilityOverride,
    const FArrangedWidget& InWidgetGeo...,
    int32 Index
)

Public function

void

 

InsertWidget

(
    const FArrangedWidget& InWidgetGeo...,
    int32 Index
)

Public function

bool

 

IsValidIndex

(
    int32 Index
)

Public function

FArrangedWid...

 

Last()

Public function Const

const FArran...

 

Last()

Public function Const

int32

 

Num()

Public function

void

 

Remove

(
    int32 Index,
    int32 Count
)

Public function

void

 

Reverse()

Reverse the order of the arranged children

Public function

void

 

SetFilter

(
    EVisibility InVisibility
)

Operators

Name Description

Public function

FArrangedWid...

 

operator[]

(
    int32 Index
)

Public function Const

const FArran...

 

operator[]

(
    int32 Index
)

Typedefs

Name

Description

FArrangedWidgetArray

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss