SPanel::PaintArrangedChildren

Just like OnPaint, but takes already arranged children. Can be handy for writing custom SPanels.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SPanel.h

Include

#include "Widgets/SPanel.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SPanel.cpp

Syntax

int32 PaintArrangedChildren
(
    const FPaintArgs & Args,
    const FArrangedChildren & ArrangedChildren,
    const FGeometry & AllottedGeometry,
    const FSlateRect & MyCullingRect,
    FSlateWindowElementList & OutDrawElements,
    int32 LayerId,
    const FWidgetStyle & InWidgetStyle,
    bool bParentEnabled
) const

Remarks

Just like OnPaint, but takes already arranged children. Can be handy for writing custom SPanels.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss