![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SCanvas.h>
Inheritance diagram for SCanvas::FSlot:Static Public Member Functions | |
| static SLATE_API void | RegisterAttributes (FSlateWidgetSlotAttributeInitializer &AttributeInitializer) |
Static Public Member Functions inherited from TWidgetSlotWithAttributeSupport< FSlot > | |
| static void | RegisterAttributes (FSlateWidgetSlotAttributeInitializer &AttributeInitializer) |
Additional Inherited Members | |
Public Types inherited from TSlotBase< SlotType > | |
| enum | EConstructSlotIsFChildren { ConstructSlotIsFChildren } |
Protected Member Functions inherited from FSlotBase | |
| template<typename TargetValueType , typename SourceValueType > | |
| bool | SetAttribute (TAttribute< TargetValueType > &TargetValue, const TAttribute< SourceValueType > &SourceValue, EInvalidateWidgetReason BaseInvalidationReason) |
Protected Member Functions inherited from SlateAttributePrivate::ISlateAttributeContainer | |
| SLATECORE_API void | RemoveContainerWidget (SWidget &Widget) |
| SLATECORE_API void | UpdateContainerSortOrder (SWidget &Widget) |
Protected Member Functions inherited from TAlignmentWidgetSlotMixin< FSlot > | |
| void | ConstructMixin (const FChildren &SlotOwner, FSlotArgumentsMixin &&InArgs) |
Canvas slots allow child widgets to be positioned and sized
Horizontal Alignment Given a top aligned slot, where '+' represents the anchor point defined by PositionAttr.
Left Center Right
Note: FILL is NOT supported.
Vertical Alignment Given a left aligned slot, where '+' represents the anchor point defined by PositionAttr.
Top Center Bottom +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | | | | | | | _ _ _ _ | + | | | | _ _ _ _ | + _ _ _ _ |
Note: FILL is NOT supported.
|
inline |
Default values for a slot.
| void SCanvas::FSlot::Construct | ( | const FChildren & | SlotOwner, |
| FSlotArguments && | InArg | ||
| ) |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |