![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateRotatedRect.h>
Public Member Functions | |
| FSlateRotatedRect () | |
| FSlateRotatedRect (const FSlateRect &AlignedRect) | |
| FSlateRotatedRect (const UE::Slate::FDeprecateVector2DParameter &InTopLeft, const UE::Slate::FDeprecateVector2DParameter &InExtentX, const UE::Slate::FDeprecateVector2DParameter &InExtentY) | |
| bool | operator== (const FSlateRotatedRect &Other) const |
| SLATECORE_API FSlateRect | ToBoundingRect () const |
| SLATECORE_API bool | IsUnderLocation (const UE::Slate::FDeprecateVector2DParameter Location) const |
Static Public Member Functions | |
| static FSlateRotatedRect | MakeRotatedRect (const FSlateRect &ClipRectInLayoutWindowSpace, const FSlateLayoutTransform &InverseLayoutTransform, const FSlateRenderTransform &RenderTransform) |
| static SLATECORE_API FSlateRotatedRect | MakeRotatedRect (const FSlateRect &ClipRectInLayoutWindowSpace, const FTransform2f &LayoutToRenderTransform) |
| static FSlateRotatedRect | MakeSnappedRotatedRect (const FSlateRect &ClipRectInLayoutWindowSpace, const FSlateLayoutTransform &InverseLayoutTransform, const FSlateRenderTransform &RenderTransform) |
| static SLATECORE_API FSlateRotatedRect | MakeSnappedRotatedRect (const FSlateRect &ClipRectInLayoutWindowSpace, const FTransform2f &LayoutToRenderTransform) |
Public Attributes | |
| FVector2f | TopLeft |
| FVector2f | ExtentX |
| FVector2f | ExtentY |
Stores a rectangle that has been transformed by an arbitrary render transform. We provide a ctor that does the work common to slate drawing, but you could technically create this any way you want.
|
inline |
Default ctor.
|
inlineexplicit |
Construct a rotated rect from a given aligned rect.
|
inline |
Per-element constructor.
| bool FSlateRotatedRect::IsUnderLocation | ( | const UE::Slate::FDeprecateVector2DParameter | Location | ) | const |
Point-in-rect test.
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
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.
|
inline |
| FSlateRect FSlateRotatedRect::ToBoundingRect | ( | ) | const |
Convert to a bounding, aligned rect.
| FVector2f FSlateRotatedRect::ExtentX |
transformed X extent (right-left).
| FVector2f FSlateRotatedRect::ExtentY |
transformed Y extent (bottom-top).
| FVector2f FSlateRotatedRect::TopLeft |
transformed Top-left corner.