engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FSlateClippingState类 参考

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.

成员函数说明

◆ GetClippingMethod()

FORCEINLINE EClippingMethod FSlateClippingState::GetClippingMethod ( ) const
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.

◆ HasZeroArea()

FORCEINLINE bool FSlateClippingState::HasZeroArea ( ) const
inline

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

We only possibly report true for scissor clipping zones.

◆ SetDebuggingStateIndex()

FORCEINLINE void FSlateClippingState::SetDebuggingStateIndex ( int32  InStateIndex) const
inline

Set the state index that this clipping state originated from.

We just do this for debugging purposes.


该类的文档由以下文件生成: