Captures everything about a single draw calls clipping state. 更多...
#include <Clipping.h>
Public 成员函数 | |
| FORCEINLINE EClippingMethod | GetClippingMethod () const |
| Gets the type of clipping that is required by this clipping state. 更多... | |
| FORCEINLINE bool | HasZeroArea () const |
| Indicates if this clipping state has a zero size, aka is empty. 更多... | |
| bool | IsPointInside (const FVector2D &Point) const |
| Is a point inside the clipping state? | |
| FORCEINLINE void | SetDebuggingStateIndex (int32 InStateIndex) const |
| Set the state index that this clipping state originated from. 更多... | |
Public 属性 | |
| 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. | |
Captures everything about a single draw calls clipping state.
|
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 |
Indicates if this clipping state has a zero size, aka is empty.
We only possibly report true for scissor clipping zones.
|
inline |
Set the state index that this clipping state originated from.
We just do this for debugging purposes.