FSlateDrawElement::MakeShapedText

Creates a text element which displays a series of shaped glyphs on the screen

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h

Include

#include "Rendering/DrawElements.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElements.cpp

Syntax

static void MakeShapedText
(
    FSlateWindowElementList & ElementList,
    uint32 InLayer,
    const FPaintGeometry & PaintGeometry,
    const FShapedGlyphSequenceRef & InShapedGlyphSequence,
    ESlateDrawEffect InDrawEffects,
    const FLinearColor & BaseTint,
    const FLinearColor & OutlineTint
)

Remarks

Creates a text element which displays a series of shaped glyphs on the screen

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss