Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/TSlotBase
Struct to construct a slot.
| Name | FSlotArguments |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/SlotBase.h |
| Include Path | #include "SlotBase.h" |
Syntax
struct FSlotArguments : public FSlotBase::FSlotArguments
Inheritance Hierarchy
- FSlotBase::FSlotArguments → TSlotBase::FSlotArguments
Derived Classes
TSlotBase::FSlotArguments derived class hierarchy
- FPopupLayerSlot::FSlotArguments
- SCanvas::FSlot::FSlotArguments
- SConstraintCanvas::FSlot::FSlotArguments
- SRadialBox::FSlot::FSlotArguments
- SSegmentedControl::FSlot::FSlotArguments
- SSplitter::FSlot::FSlotArguments
- SSplitter2x2::FSlot::FSlotArguments
- SUniformGridPanel::FSlot::FSlotArguments
- SUniformWrapPanel::FSlot::FSlotArguments
- TBasicLayoutWidgetSlot::FSlotArguments
- TSingleWidgetChildrenWithSlot::FSlotArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SlotBase.h | |||
FSlotArguments
(
TUniquePtr< SlotType > InSlot |
SlotBase.h | ||
FSlotArguments
(
const FSlotArguments& |
SlotBase.h | ||
FSlotArguments
(
FSlotArguments&& |
SlotBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChildWidget | TSharedPtr< SWidget > | SlotBase.h | ||
| Slot | TUniquePtr< SlotType > | SlotBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AttachWidget
(
const TSharedRef< SWidget >& InChildWidget |
Attach the child widget the slot will own. | SlotBase.h | |
SlotType::FSlotArguments & Expose
(
SlotType*& OutVarToInit |
Initialize OutVarToInit with the slot that is being constructed. | SlotBase.h | |
const TSharedPtr< SWidget > & GetAttachedWidget() |
SlotBase.h | ||
SlotType * GetSlot() |
SlotBase.h | ||
SlotType::FSlotArguments & Me() |
Used by the named argument pattern as a safe way to 'return *this' for call-chaining purposes. | SlotBase.h | |
TUniquePtr< SlotType > StealSlot() |
Steal the slot that is being constructed from the FSlotArguments. | SlotBase.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SlotType::FSlotArguments & operator[]
(
TSharedRef< SWidget >&& InChildWidget |
Attach the child widget the slot will own. | SlotBase.h | |
SlotType::FSlotArguments & operator[]
(
const TSharedRef< SWidget >& InChildWidget |
SlotBase.h | ||
FSlotArguments & operator=
(
const FSlotArguments& |
SlotBase.h | ||
FSlotArguments & operator=
(
FSlotArguments&& |
SlotBase.h |