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

Represents the appearance of an STextBlock 更多...

#include <SlateTypes.h>

+ 类 FTextBlockStyle 继承关系图:

Public 成员函数

virtual void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 Gets the brush resources associated with this style. 更多...
 
virtual const FName GetTypeName () const override
 Gets the name of this style. 更多...
 
void UnlinkColors ()
 Unlinks all colors in this style. 更多...
 
- Public 成员函数 继承自 FSlateWidgetStyle
 FSlateWidgetStyle ()
 Default constructor.
 
virtual void GetResources (TArray< const FSlateBrush * > &OutBrushes) const
 Gets the brush resources associated with this style. 更多...
 
virtual const FName GetTypeName () const
 Gets the name of this style. 更多...
 
virtual ~FSlateWidgetStyle ()
 Virtual Destructor.
 

Public 属性

FSlateColor ColorAndOpacity
 The color and opacity of this text
 
FSlateFontInfo Font
 Font family and size to be used when displaying this text.
 
FLinearColor HighlightColor
 The color of highlighted text
 
FSlateBrush HighlightShape
 The shape of highlighted text
 
FSlateColor SelectedBackgroundColor
 The background color of selected text
 
FLinearColor ShadowColorAndOpacity
 The color and opacity of the shadow
 
FVector2D ShadowOffset
 How much should the shadow be offset? An offset of 0 implies no shadow.
 
FSlateBrush StrikeBrush
 The brush used to draw an strike through the text (if any)
 
FSlateBrush UnderlineBrush
 The brush used to draw an underline under the text (if any)
 

详细描述

Represents the appearance of an STextBlock

成员函数说明

◆ GetResources()

virtual void FTextBlockStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

参数
OutBrushesThe brush resources.

重载 FSlateWidgetStyle .

◆ GetTypeName()

virtual const FName FTextBlockStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

返回
Widget style name.

重载 FSlateWidgetStyle .

◆ UnlinkColors()

void FTextBlockStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

参见
FSlateColor::Unlink

该结构体的文档由以下文件生成: