TSlotlessChildren

Inheritance Hierarchy

FChildren

TArray

TSlotlessChildren

Syntax

template<typename ChildType>
class TSlotlessChildren :
    public FChildren ,
    private TArray< TSharedRef< ChildType > >

Remarks

Some advanced widgets contain no layout information, and do not require slots. Those widgets may wish to store a specialized type of child widget. In those cases, using TSlotlessChildren is convenient.

TSlotlessChildren should not be used for general-purpose widgets.

Constructors

Name Description

Public function

TSlotlessChildren

(
    SWidget * InOwner,
    bool InbChangesInvalidatePrepass
)

Functions

Name Description

Public function

int32

 

Add

(
    const TSharedRef < ChildType >& Chi...
)

Public function Const

TArray < TSha ...

 

AsArrayCopy()

Public function

void

 

Empty()

Public function Const

int32

 

Find

(
    const TSharedRef < ChildType >& Ite...
)

Public function

void

 

Insert

(
    const TSharedRef < ChildType >& Chi...,
    int32 Index
)

Public function

int32

 

Remove

(
    const TSharedRef < ChildType >& Chi...
)

Public function

void

 

RemoveAt

(
    int32 Index
)

Public function

void

 

Sort

(
    const PREDICATE_CLASS& Predicate
)

Public function

void

 

Swap

(
    int32 IndexA,
    int32 IndexB
)

Overridden from FChildren

Name Description

Public function Virtual

TSharedRef < ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

TSharedRef < ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

int32

 

Num()

Operators

Name Description

Public function Const

const TShare ...

 

operator[]

(
    int32 Index
)

Public function

TSharedRef < ...

 

operator[]

(
    int32 Index
)

References

Module

SlateCore

Header

Runtime/SlateCore/Public/Layout/Children.h