Deprecated
This no longer represents any sort of clipping rect. Please use GetLayoutBoundingRect() to get the layout rect of this geometry.
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
Include |
#include "Layout/Geometry.h" |
FSlateRect GetClippingRect() const
!!! DEPRECATED !!! This legacy function does not account for render transforms.
Returns a clipping rectangle corresponding to the allocated geometry's absolute position and size.
that the clipping rectangle starts 1 pixel above and left of the geometry because clipping is not inclusive on the lower bound. Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.
Allotted geometry rectangle in absolute coordinates.