Navigation
Unreal Engine C++ API Reference > Runtime > Slate > Widgets > Layout > SConstraintCanvas
Inheritance Hierarchy
References
Module | Slate |
Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SConstraintCanvas.h |
Include | #include "Widgets/Layout/SConstraintCanvas.h" |
Syntax
class FSlot : public TSlotBase< FSlot >
Remarks
ConstraintCanvas slots allow child widgets to be positioned and sized
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlot () |
Default values for a slot. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Construct
(
const FChildren& SlotOwner, |
|
![]() ![]() |
FVector2D | GetAlignment () |
|
![]() ![]() |
FAnchors | GetAnchors () |
|
![]() ![]() |
bool | GetAutoSize () |
|
![]() ![]() |
FMargin | GetOffset () |
|
![]() ![]() |
float | GetZOrder () |
|
![]() |
void | SetAlignment
(
const TAttribute< FVector2D >& InAlignment |
|
![]() |
void | SetAnchors
(
const TAttribute< FAnchors >& InAnchors |
|
![]() |
void | SetAutoSize
(
const TAttribute< bool >& InAutoSize |
|
![]() |
void | SetOffset
(
const TAttribute< FMargin >& InOffset |
|
![]() |
void | SetZOrder
(
float InZOrder |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FSlotArguments |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TAttribute< FVector2D > | AlignmentAttr | Direct access to AlignmentAttr is now deprecated. Use the getter or setter. |
![]() |
TAttribute< FAnchors > | AnchorsAttr | Direct access to AnchorsAttr is now deprecated. Use the getter or setter. |
![]() |
TAttribute< bool > | AutoSizeAttr | Direct access to AutoSizeAttr is now deprecated. Use the getter or setter. |
![]() |
TAttribute< FMargin > | OffsetAttr | Direct access to OffsetAttr is now deprecated. Use the getter or setter. |
![]() |
TAttribute< float > | ZOrderAttr | Direct access to ZOrderAttr is now deprecated. Use the getter or setter. |