Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FEditableTextStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FEditableTextStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SEditableText
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateBrush | BackgroundImageComposing | Background image for the selected text | |
| FSlateBrush | BackgroundImageSelected | Background image for the selected text | |
| FSlateBrush | CaretImage | Image brush used for the caret | |
| FSlateColor | ColorAndOpacity | The color and opacity of this text | |
| FSlateFontInfo | Font | Font family and size to be used when displaying this text. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FEditableTextStyle
(
const FEditableTextStyle& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FEditableTextStyle & | GetDefault () |
||
| FEditableTextStyle & | SetBackgroundImageComposing
(
const FSlateBrush& InBackgroundImageComposing |
||
| FEditableTextStyle & | SetBackgroundImageSelected
(
const FSlateBrush& InBackgroundImageSelected |
||
| FEditableTextStyle & | SetCaretImage
(
const FSlateBrush& InCaretImage |
||
| FEditableTextStyle & | SetColorAndOpacity
(
const FSlateColor& InColorAndOpacity |
||
| FEditableTextStyle & | SetFont
(
const FSlateFontInfo& InFont |
||
| FEditableTextStyle & | |||
| FEditableTextStyle & | SetFontMaterial
(
UObject* InMaterial |
||
| FEditableTextStyle & | SetFontOutlineMaterial
(
UObject* InMaterial |
||
| void | UnlinkColors () |
Unlinks all colors in this style. |
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | |
| const FName | GetTypeName () |
Gets the name of this style.This method must be implemented by inherited structures. |
Constants
| Name | Description |
|---|---|
| TypeName |