TSupportsOneChildMixin

Widgets that will only have one child can return an instance of FOneChild.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

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

Include

#include "Layout/Children.h"

Syntax

template<typename MixedIntoType>
class TSupportsOneChildMixin :
    public FChildren,
    public TSlotBase< MixedIntoType >

Remarks

Widgets that will only have one child can return an instance of FOneChild.

Constructors

Name Description

Public function

TSupportsOneChildMixin

(
    SWidget* InOwner
)

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()

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