Navigation
API > API/Runtime > API/Runtime/SlateCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateRect TransformRect
(
const TransformType& Transform, |
Transforms a rect by the given transform, ensuring the rect does not get inverted. | Layout/SlateRect.h | |
FSlateRotatedRect TransformRect
(
const TransformType& Transform, |
Transforms a rect by the given transform. | Layout/SlateRotatedRect.h |
TransformRect(const TransformType &, const FSlateRect &)
Description
Transforms a rect by the given transform, ensuring the rect does not get inverted. WARNING: this only really supports scales and offsets. Any skew or rotation that would turn this into an un-aligned rect will won't work because FSlateRect doesn't support non-axis-alignment. Instead, convert to ta FSlateRotatedRect first and transform that.
| Name | TransformRect |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h |
| Include Path | #include "Layout/SlateRect.h" |
template<typename TransformType>
FSlateRect TransformRect
(
const TransformType & Transform,
const FSlateRect & Rect
)
TransformRect(const TransformType &, const FSlateRotatedRect &)
Description
Transforms a rect by the given transform.
| Name | TransformRect |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/SlateRotatedRect.h |
| Include Path | #include "Layout/SlateRotatedRect.h" |
template<typename TransformType>
FSlateRotatedRect TransformRect
(
const TransformType & Transform,
const FSlateRotatedRect & Rect
)