Navigation
API > API/Runtime > API/Runtime/SlateCore
Required to implement GetChildren() in a way that can dynamically return the currently active child.
| Name | TOneDynamicChild |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Children.h |
| Include Path | #include "Layout/Children.h" |
Syntax
template<typename SlotType>
class TOneDynamicChild : public FChildren
Inheritance Hierarchy
- FChildren → TOneDynamicChild
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOneDynamicChild
(
SWidget* InOwner, |
Layout/Children.h | ||
TOneDynamicChild
(
SWidget* InOwner, |
Layout/Children.h | ||
TOneDynamicChild
(
SWidget* InOwner, |
Layout/Children.h | ||
TOneDynamicChild
(
SWidget* InOwner, |
Layout/Children.h | ||
TOneDynamicChild
(
std::nullptr_t, |
Layout/Children.h | ||
TOneDynamicChild
(
std::nullptr_t, |
Layout/Children.h | ||
TOneDynamicChild
(
std::nullptr_t, |
Layout/Children.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllChildren | TPanelChildren< SlotType > * | Layout/Children.h | ||
| WidgetIndex | const TAttribute< int32 > * | Layout/Children.h |
Functions
Public
Overridden from FChildren
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > GetChildAt
(
int32 Index |
Layout/Children.h | ||
virtual TSharedRef< const SWidget > GetChildAt
(
int32 Index |
Layout/Children.h | ||
virtual int32 Num() |
Layout/Children.h |