Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/TSlotBase
Inheritance Hierarchy
- FSlotBase::FSlotArguments
- TSlotBase::FSlotArguments
- FPopupLayerSlot::FSlotArguments
- SSplitter::FSlot::FSlotArguments
- TBasicLayoutWidgetSlot::FSlotArguments
- SBoxPanel::TSlot::FSlotArguments
- SHorizontalBox::FSlot::FSlotArguments
- SStackBox::FSlot::FSlotArguments
- SScrollBox::FSlot::FSlotArguments
- TSingleWidgetChildrenWithSlot::FSlotArguments
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/SlotBase.h |
Include | #include "SlotBase.h" |
Syntax
struct FSlotArguments : public FSlotBase::FSlotArguments
Remarks
Struct to construct a slot.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FSlotArguments
(
TUniquePtr< SlotType > InSlot |
||
![]() |
FSlotArguments
(
const FSlotArguments& |
||
![]() |
FSlotArguments
(
FSlotArguments&& |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AttachWidget
(
const TSharedRef< SWidget >& InChildWidget |
Attach the child widget the slot will own. |
![]() |
SlotType::FSlotArguments & | Expose
(
SlotType*& OutVarToInit |
Initialize OutVarToInit with the slot that is being constructed. |
![]() ![]() |
const TSharedPtr< SWidget > & | ||
![]() ![]() |
SlotType * | GetSlot () |
|
![]() |
SlotType::FSlotArguments & | Me () |
Used by the named argument pattern as a safe way to 'return *this' for call-chaining purposes. |
![]() |
TUniquePtr< SlotType > | StealSlot () |
Steal the slot that is being constructed from the FSlotArguments. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
SlotType::FSlotArguments & | operator[]
(
TSharedRef< SWidget >&& InChildWidget |
Attach the child widget the slot will own. |
![]() |
SlotType::FSlotArguments & | operator[]
(
const TSharedRef< SWidget >& InChildWidget |
|
![]() |
FSlotArguments & | operator=
(
const FSlotArguments& |
|
![]() |
FSlotArguments & | operator=
(
FSlotArguments&& |