Navigation
API > API/Runtime > API/Runtime/SlateCore
| Name | FSlateTextElement |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
Syntax
struct FSlateTextElement :
public FSlateDrawElement ,
public FSlateTintableElement
Inheritance Hierarchy
- FSlateDrawElement → FSlateTextElement
- FSlateTintableElement → FSlateTextElement
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FontInfo | FSlateFontInfo | The font to use when rendering. | Rendering/DrawElementTypes.h | |
| ImmutableText | FString | Basic text data. | Rendering/DrawElementTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
Rendering/DrawElementTypes.h | ||
const FSlateFontInfo & GetFontInfo() |
Rendering/DrawElementTypes.h | ||
const TCHAR * GetText() |
Rendering/DrawElementTypes.h | ||
int32 GetTextLength() |
Rendering/DrawElementTypes.h | ||
void SetText
(
const FString& InText, |
Rendering/DrawElementTypes.h | ||
void SetText
(
const FString& InText, |
Rendering/DrawElementTypes.h |