SViewport::OnArrangeChildren

Compute the Geometry of all the children and add populate the ArrangedChildren list with their values.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp

Syntax

virtual void OnArrangeChildren
(
    const FGeometry & AllottedGeometry,
    FArrangedChildren & ArrangedChildren
) const

Remarks

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.

Parameters

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.