FScrollyZoomy::PaintSoftwareCursorIfNeeded

Call this from your widget's OnPaint to paint a software cursor, if needed

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Layout/ScrollyZoomy.h

Include

#include "Framework/Layout/ScrollyZoomy.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Layout/ScrollyZoomy.cpp

Syntax

int32 PaintSoftwareCursorIfNeeded
(
    const FGeometry & AllottedGeometry,
    const FSlateRect & MyCullingRect,
    FSlateWindowElementList & OutDrawElements,
    int32 LayerId
) const

Remarks

Call this from your widget's OnPaint to paint a software cursor, if needed

Returns

New layer Identifier.

Parameters

Parameter

Description

AllottedGeometry

Widget geometry passed into OnPaint.

MyCullingRect

Widget clipping rect passed into OnPaint.

OutDrawElements

The draw element list.

LayerId

Layer identifier.

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