FGeometry::GetClippingRect

!!! DEPRECATED !!! This legacy function does not account for render transforms.

Windows
MacOS
Linux

Deprecated

  • This no longer represents any sort of clipping rect. Please use GetLayoutBoundingRect() to get the layout rect of this geometry.

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h

Include

#include "Layout/Geometry.h"

Syntax

FSlateRect GetClippingRect() const

Remarks

!!! 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.

Returns

Allotted geometry rectangle in absolute coordinates.

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