Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/ISlateViewport
Description
Called by SViewport at the start of its OnPaint. The returned scope object lives until SViewport::OnPaint returns.
| Name | Paint |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #include "Rendering/RenderingCommon.h" |
virtual TUniquePtr < UE::Slate::FPaintScope > Paint
(
const FGeometry & AllottedGeometry,
const FSlateRect & MyCullingRect,
FSlateWindowElementList & OutDrawElements,
const int32 LayerId,
const FWidgetStyle & InWidgetStyle,
const bool bParentEnabled
)