Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
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
| Type | Name | Description | |
|---|---|---|---|
TSlotlessChildren
(
SWidget* InOwner, |
|||
TSlotlessChildren
(
std::nullptr_t, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Add
(
const TSharedRef< ChildType >& Child |
||
| TArray< TSharedRef< ChildType > > | AsArrayCopy () |
||
| void | Empty
(
int32 Slack |
||
| int32 | Find
(
const TSharedRef< ChildType >& Item |
||
| void | Insert
(
const TSharedRef< ChildType >& Child, |
||
| int32 | Remove
(
const TSharedRef< ChildType >& Child |
||
| void | RemoveAt
(
int32 Index |
||
| void | Reset
(
int32 NewSize |
||
| void | Sort
(
const PREDICATE_CLASS& Predicate |
||
| void | Swap
(
int32 IndexA, |
Overridden from FChildren
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< const SWidget > | GetChildAt
(
int32 Index |
||
| TSharedRef< SWidget > | GetChildAt
(
int32 Index |
||
| int32 | Num () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< ChildType > & | operator[]
(
int32 Index |
||
| const TSharedRef< ChildType > & | operator[]
(
int32 Index |