Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SCompoundWidget
Description
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. Each type of Layout panel should arrange children based on desired behavior.
Virtual Inheritance
- SWidget::OnArrangeChildren → SCompoundWidget::OnArrangeChildren
| Name | OnArrangeChildren |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SCompoundWidget.h |
| Include Path | #include "Widgets/SCompoundWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SCompoundWidget.cpp |
virtual void OnArrangeChildren
(
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren
) const
Parameters
| Name | Remarks |
|---|---|
| AllottedGeometry | The geometry allotted for this widget by its parent. |
| ArrangedChildren | The array to which to add the WidgetGeometries that represent the arranged children. |