![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Clipping.h>
Public Attributes | |
| FVector2f | TopLeft |
| FVector2f | TopRight |
| FVector2f | BottomLeft |
| FVector2f | BottomRight |
Friends | |
| uint32 | GetTypeHash (const FSlateClippingZone &Zone) |
The Clipping Zone represents some arbitrary plane segment that can be used to clip the geometry in Slate.
|
explicit |
|
explicit |
|
explicit |
|
explicit |
| FSlateClippingZone::FSlateClippingZone | ( | const UE::Slate::FDeprecateVector2DParameter & | InTopLeft, |
| const UE::Slate::FDeprecateVector2DParameter & | InTopRight, | ||
| const UE::Slate::FDeprecateVector2DParameter & | InBottomLeft, | ||
| const UE::Slate::FDeprecateVector2DParameter & | InBottomRight | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
| FSlateRect FSlateClippingZone::GetBoundingBox | ( | ) | const |
Gets the bounding box of the points making up this clipping zone.
|
inline |
|
inline |
Indicates if this clipping state has a zero size, aka is empty. We only possibly report true for scissor clipping zones.
| FSlateClippingZone FSlateClippingZone::Intersect | ( | const FSlateClippingZone & | Other | ) | const |
Intersects two clipping zones and returns the new clipping zone that would need to be used. This can only be called between two axis aligned clipping zones.
|
inline |
Is the clipping rect axis aligned? If it is, we can use a much cheaper clipping solution.
| bool FSlateClippingZone::IsPointInside | ( | const UE::Slate::FDeprecateVector2DParameter & | Point | ) | const |
Is a point inside the clipping zone?
|
inline |
|
friend |
| FVector2f FSlateClippingZone::BottomLeft |
| FVector2f FSlateClippingZone::BottomRight |
| FVector2f FSlateClippingZone::TopLeft |
| FVector2f FSlateClippingZone::TopRight |