![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Go to the source code of this file.
Classes | |
| class | FSlateRect |
| struct | TIsPODType< FSlateRect > |
Functions | |
| template<typename TransformType > | |
| FSlateRect | TransformRect (const TransformType &Transform, const FSlateRect &Rect) |
| FSlateRect TransformRect | ( | const TransformType & | Transform, |
| const FSlateRect & | Rect | ||
| ) |
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.