Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h |
Include |
#include "Rendering/DrawElements.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElements.cpp |
static void MakeShapedText
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FShapedGlyphSequenceRef & InShapedGlyphSequence,
ESlateDrawEffect InDrawEffects,
const FLinearColor & BaseTint,
const FLinearColor & OutlineTint,
FTextOverflowArgs TextOverflowArgs
)
Creates a text element which displays a series of shaped glyphs on the screen
Parameter |
Description |
---|---|
ElementList |
The list in which to add elements |
InLayer |
The layer to draw the element on |
PaintGeometry |
DrawSpace position and dimensions; see FPaintGeometry |
InShapedGlyphSequence |
The shaped glyph sequence to draw |
InDrawEffects |
Optional draw effects to apply |
InTint |
Color to tint the element |