![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Clipping.h>
Public Member Functions | |
| SLATECORE_API | FSlateClippingState (EClippingFlags InFlags=EClippingFlags::None) |
| SLATECORE_API bool | IsPointInside (const UE::Slate::FDeprecateVector2DParameter &Point) const |
| bool | GetAlwaysClip () const |
| bool | GetShouldIntersectParent () const |
| EClippingMethod | GetClippingMethod () const |
| bool | HasZeroArea () const |
| bool | operator== (const FSlateClippingState &Other) const |
Public Attributes | |
| TArray< FSlateClippingZone > | StencilQuads |
| TOptional< FSlateClippingZone > | ScissorRect |
Captures everything about a single draw calls clipping state.
| FSlateClippingState::FSlateClippingState | ( | EClippingFlags | InFlags = EClippingFlags::None | ) |
|
inline |
|
inline |
Gets the type of clipping that is required by this clipping state. The simpler clipping is scissor clipping, but that's only possible if the clipping rect is axis aligned.
|
inline |
|
inline |
Indicates if this clipping state has a zero size, aka is empty. We only possibly report true for scissor clipping zones.
| bool FSlateClippingState::IsPointInside | ( | const UE::Slate::FDeprecateVector2DParameter & | Point | ) | const |
Is a point inside the clipping state?
|
inline |
| TOptional<FSlateClippingZone> FSlateClippingState::ScissorRect |
If this is an axis aligned clipping state, this will be filled.
| TArray<FSlateClippingZone> FSlateClippingState::StencilQuads |
If this is a more expensive stencil clipping zone, this will be filled.