TSlotlessChildren

Some advanced widgets contain no layout information, and do not require slots.

Windows
MacOS
Linux

Inheritance Hierarchy

FChildren

TSlotlessChildren

References

Module

SlateCore

Header

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

Include

#include "Layout/Children.h"

Syntax

template<typename ChildType>
class TSlotlessChildren : public FChildren

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

(
    int32 Slack
)

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

 

Reset

(
    int32 NewSize
)

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
)

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