Module |
|
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 |
int32 PaintSoftwareCursorIfNeeded
(
const FGeometry & AllottedGeometry,
const FSlateRect & MyCullingRect,
FSlateWindowElementList & OutDrawElements,
int32 LayerId
) const
Call this from your widget's OnPaint to paint a software cursor, if needed
New layer Identifier.
Parameter |
Description |
---|---|
AllottedGeometry |
Widget geometry passed into OnPaint. |
MyCullingRect |
Widget clipping rect passed into OnPaint. |
OutDrawElements |
The draw element list. |
LayerId |
Layer identifier. |