Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/Clipping.h |
| Include | #include "Layout/Clipping.h" |
Syntax
class FSlateClippingZone
Remarks
The Clipping Zone represents some arbitrary plane segment that can be used to clip the geometry in Slate.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector2f | BottomLeft | ||
| FVector2f | BottomRight | ||
| FVector2f | TopLeft | ||
| FVector2f | TopRight |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateClippingZone
(
const FShortRect& AxisAlignedRect |
|||
FSlateClippingZone
(
const FSlateRect& AxisAlignedRect |
|||
FSlateClippingZone
(
const FGeometry& BoundingGeometry |
|||
FSlateClippingZone
(
const FPaintGeometry& PaintingGeometry |
|||
FSlateClippingZone
(
const UE::Slate::FDeprecateVector2DParameter& InTopLeft, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | ComputeHash () |
||
| FSlateClippingZone | ConvertRelativeToAbsolute
(
const UE::Slate::FDeprecateVector2DParameter& WindowOffset |
||
| bool | |||
| FSlateRect | Gets the bounding box of the points making up this clipping zone. | ||
| bool | |||
| bool | HasZeroArea () |
Indicates if this clipping state has a zero size, aka is empty. | |
| FSlateClippingZone | Intersect
(
const FSlateClippingZone& Other |
Intersects two clipping zones and returns the new clipping zone that would need to be used. | |
| bool | Is the clipping rect axis aligned? If it is, we can use a much cheaper clipping solution. | ||
| bool | IsPointInside
(
const UE::Slate::FDeprecateVector2DParameter& Point |
Is a point inside the clipping zone? | |
| void | SetAlwaysClip
(
bool bValue |
||
| void | SetShouldIntersectParent
(
bool bValue |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FSlateClippingZone& Other |