Choose your operating system:
Windows
macOS
Linux
| SWidget::OnArrangeChildren()
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SFxWidget.h |
Include |
#include "Widgets/Layout/SFxWidget.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SFxWidget.cpp |
virtual void OnArrangeChildren
(
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren
) const
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.
Parameter |
Description |
---|---|
AllottedGeometry |
The geometry allotted for this widget by its parent. |
ArrangedChildren |
The array to which to add the WidgetGeometries that represent the arranged children. |