Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Layout > API/Runtime/Slate/Framework/Layout/FScrollyZoomy
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 |
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 New layer Identifier.
Parameters
| Name | Description |
|---|---|
| AllottedGeometry | Widget geometry passed into OnPaint. |
| MyCullingRect | Widget clipping rect passed into OnPaint. |
| OutDrawElements | The draw element list. |
| LayerId | Layer identifier. |