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 FSlateClippingState
Remarks
Captures everything about a single draw calls clipping state.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FSlateClippingZone > | ScissorRect | If this is an axis aligned clipping state, this will be filled. | |
| TArray< FSlateClippingZone > | StencilQuads | If this is a more expensive stencil clipping zone, this will be filled. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateClippingState
(
EClippingFlags InFlags |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| EClippingMethod | Gets the type of clipping that is required by this clipping state. | ||
| bool | |||
| bool | HasZeroArea () |
Indicates if this clipping state has a zero size, aka is empty. | |
| bool | IsPointInside
(
const UE::Slate::FDeprecateVector2DParameter& Point |
Is a point inside the clipping state? | |
| void | SetDebuggingStateIndex
(
int32 InStateIndex |
Set the state index that this clipping state originated from. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FSlateClippingState& Other |