Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
Include |
#include "Widgets/SWidget.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
void ArrangeChildren
(
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren,
bool bUpdateAttributes
) const
Non-virtual entry point for arrange children. ensures common work is executed before calling the virtual ArrangeChildren function. 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.
Optionally, update the collapsed attributes (attributes that affect the visibility) of the children before executing the virtual ArrangeChildren function. The visibility attribute is updated once per frame (see SlatePrepass). Use the option when you are calling ArrangeChildren outside of the regular SWidget Paint/Tick.
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. |
bUpdateAttributes |
Update the collapsed attributes. |