Navigation
API > API/Runtime > API/Runtime/SlateCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static AlignmentArrangeResult AlignChild
(
float AllottedSize, |
Layout/LayoutUtils.h | ||
static AlignmentArrangeResult AlignChild
(
float AllottedSize, |
Layout/LayoutUtils.h | ||
static AlignmentArrangeResult AlignChild
(
EFlowDirection InLayoutFlow, |
Layout/LayoutUtils.h | ||
static AlignmentArrangeResult AlignChild
(
EFlowDirection InLayoutFlow, |
Helper method to BoxPanel::ArrangeChildren. | Layout/LayoutUtils.h |
AlignChild(float, const SlotType &, const FMargin &, const float &, bool)
| Name | AlignChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
template<EOrientation Orientation, typename SlotType>
static AlignmentArrangeResult AlignChild
(
float AllottedSize,
const SlotType & ChildToArrange,
const FMargin & SlotPadding,
const float & ContentScale,
bool bClampToParent
)
AlignChild(float, float, const SlotType &, const FMargin &, const float &, bool)
| Name | AlignChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
template<EOrientation Orientation, typename SlotType>
static AlignmentArrangeResult AlignChild
(
float AllottedSize,
float ChildDesiredSize,
const SlotType & ChildToArrange,
const FMargin & SlotPadding,
const float & ContentScale,
bool bClampToParent
)
AlignChild(EFlowDirection, float, const SlotType &, const FMargin &, const float &, bool)
| Name | AlignChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
template<EOrientation Orientation, typename SlotType>
static AlignmentArrangeResult AlignChild
(
EFlowDirection InLayoutFlow,
float AllottedSize,
const SlotType & ChildToArrange,
const FMargin & SlotPadding,
const float & ContentScale,
bool bClampToParent
)
AlignChild(EFlowDirection, float, float, const SlotType &, const FMargin &, const float &, bool)
Description
Helper method to BoxPanel::ArrangeChildren.
| Name | AlignChild |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
template<EOrientation Orientation, typename SlotType>
static AlignmentArrangeResult AlignChild
(
EFlowDirection InLayoutFlow,
float AllottedSize,
float ChildDesiredSize,
const SlotType & ChildToArrange,
const FMargin & SlotPadding,
const float & ContentScale,
bool bClampToParent
)
Offset and Size of widget
Parameters
| Name | Remarks |
|---|---|
| AllottedSize | The size available to arrange the widget along the given orientation |
| ChildToArrange | The widget and associated layout information |
| SlotPadding | The padding to when aligning the child |
| ContentScale | The scale to apply to the child before aligning it. |
| bClampToParent | If true the child's size is clamped to the allotted size before alignment occurs, if false, the child's desired size is used, even if larger than the allotted size. |