Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateDrawElement
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void MakeText
(
FSlateWindowElementList& ElementList, |
Rendering/DrawElementTypes.h | ||
static void MakeText
(
FSlateWindowElementList& ElementList, |
Rendering/DrawElementTypes.h | ||
static void MakeText
(
FSlateWindowElementList& ElementList, |
Creates a text element which displays a string of a rendered in a certain font on the screen | Rendering/DrawElementTypes.h |
MakeText(FSlateWindowElementList &, uint32, const FPaintGeometry &, const FString &, const FSlateFontInfo &, ESlateDrawEffect, const FLinearColor &)
| Name | MakeText |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakeText
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FString & InText,
const FSlateFontInfo & InFontInfo,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint
)
MakeText(FSlateWindowElementList &, uint32, const FPaintGeometry &, const FText &, const FSlateFontInfo &, ESlateDrawEffect, const FLinearColor &)
| Name | MakeText |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
static void MakeText
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FText & InText,
const FSlateFontInfo & InFontInfo,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint
)
MakeText(FSlateWindowElementList &, uint32, const FPaintGeometry &, const FString &, const int32, const int32, const FSlateFontInfo &, ESlateDrawEffect, const FLinearColor &)
Description
Creates a text element which displays a string of a rendered in a certain font on the screen
| Name | MakeText |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakeText
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FString & InText,
const int32 StartIndex,
const int32 EndIndex,
const FSlateFontInfo & InFontInfo,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint
)
Parameters
| Name | Remarks |
|---|---|
| ElementList | The list in which to add elements |
| InLayer | The layer to draw the element on |
| PaintGeometry | DrawSpace position and dimensions; see FPaintGeometry |
| InText | The string to draw |
| StartIndex | Inclusive index to start rendering from on the specified text |
| EndIndex | Exclusive index to stop rendering on the specified text |
| InFontInfo | The font to draw the string with |
| InDrawEffects | Optional draw effects to apply |
| InTint | Color to tint the element |