Navigation
API > API/Runtime > API/Runtime/SlateCore
Mixin to add the padding functionality to a base slot.
| Name | TPaddingWidgetSlotMixin |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/BasicLayoutWidgetSlot.h |
| Include Path | #include "Layout/BasicLayoutWidgetSlot.h" |
Syntax
template<typename MixedIntoType>
class TPaddingWidgetSlotMixin
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Layout/BasicLayoutWidgetSlot.h | |||
TPaddingWidgetSlotMixin
(
const FMargin& Margin |
Layout/BasicLayoutWidgetSlot.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArgumentsMixin |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SlotPaddingCompareType | TSlateAttributeComparePredicate<> | Layout/BasicLayoutWidgetSlot.h | |
| SlotPaddingType | ::SlateAttributePrivate::TSlateContainedAttribute< FMargin, ::SlateAttributePrivate::FSlateAttributeNoInvalidationReason, SlotPaddingCompareType > | Layout/BasicLayoutWidgetSlot.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SlotPaddingAttribute | SlotPaddingType | Layout/BasicLayoutWidgetSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMargin GetPadding() |
Layout/BasicLayoutWidgetSlot.h | ||
void SetPadding
(
TAttribute< FMargin > InPadding |
Layout/BasicLayoutWidgetSlot.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConstructMixin
(
const FChildren& SlotOwner, |
Layout/BasicLayoutWidgetSlot.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RegisterAttributesMixin
(
FSlateWidgetSlotAttributeInitializer& AttributeInitializer |
Layout/BasicLayoutWidgetSlot.h |