The Clipping Zone represents some arbitrary plane segment that can be used to clip the geometry in Slate. 更多...
#include <Clipping.h>
Public 成员函数 | |
| FSlateRect | GetBoundingBox () const |
| Gets the bounding box of the points making up this clipping zone. | |
| FORCEINLINE bool | HasZeroArea () const |
| Indicates if this clipping state has a zero size, aka is empty. 更多... | |
| FSlateClippingZone | Intersect (const FSlateClippingZone &Other) const |
| Intersects two clipping zones and returns the new clipping zone that would need to be used. 更多... | |
| FORCEINLINE bool | IsAxisAligned () const |
| Is the clipping rect axis aligned? If it is, we can use a much cheaper clipping solution. | |
| bool | IsPointInside (const FVector2D &Point) const |
| Is a point inside the clipping zone? | |
The Clipping Zone represents some arbitrary plane segment that can be used to clip the geometry in Slate.
|
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.