FSlateClippingState

Captures everything about a single draw calls clipping state.

Windows
MacOS
Linux

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

Name Description

Public variable

TOptional< FSla...

 

ScissorRect

If this is an axis aligned clipping state, this will be filled.

Public variable

TArray< FSlateC...

 

StencilQuads

If this is a more expensive stencil clipping zone, this will be filled.

Constructors

Name Description

Public function

FSlateClippingState

(
    EClippingFlags InFlags
)

Public function

FSlateClippingState

(
    const FSlateClippingState& Other
)

Functions

Name Description

Public function Const

bool

 

GetAlwaysClip()

Public function Const

EClippingMet...

 

GetClippingMethod()

Gets the type of clipping that is required by this clipping state.

Public function Const

bool

 

GetShouldIntersectParent()

Public function Const

bool

 

HasZeroArea()

Indicates if this clipping state has a zero size, aka is empty.

Public function Const

bool

 

IsPointInside

(
    const FVector2D& Point
)

Is a point inside the clipping state?

Public function Const

void

 

SetDebuggingStateIndex

(
    int32 InStateIndex
)

Set the state index that this clipping state originated from.

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FSlateClippingState& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss