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