Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout > API/Runtime/SlateCore/Layout/FSlateRotatedRect > API/Runtime/SlateCore/Layout/FSlateRotatedRect/MakeSnappedRotatedRect
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/SlateRotatedRect.h |
| Include | #include "Layout/SlateRotatedRect.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Layout/SlateRotatedRect.cpp |
static FSlateRotatedRect MakeSnappedRotatedRect
(
const FSlateRect & ClipRectInLayoutWindowSpace,
const FTransform2f & LayoutToRenderTransform
)
Remarks
Used to construct a rotated rect from an aligned clip rect and a set of layout and render transforms from the geometry, snapped to pixel boundaries. Returns a float or float16 version of the rect based on the typedef.