| SWidget::OnArrangeChildren()
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SLeafWidget.h |
Include |
#include "Widgets/SLeafWidget.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Widgets/SLeafWidget.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. |