ShapedTextCacheUtil::GetShapedTextSubSequence

Extract a sub-section of a run of text into its own shaped glyph sequence

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h

Include

#include "Framework/Text/ShapedTextCache.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Text/ShapedTextCache.cpp

Syntax

namespace ShapedTextCacheUtil
{
    FShapedGlyphSequenceRef ShapedTextCacheUtil::GetShapedTextSubSequence
    (
        const FShapedTextCacheRef & InShapedTextCache,
        const FCachedShapedTextKey & InRunKey,
        const FTextRange & InTextRange,
        const TCHAR * InText,
        const TextBiDi::ETextDirection InTextDirection
    )
}

Remarks

Extract a sub-section of a run of text into its own shaped glyph sequence

Returns

The shaped text

Parameters

Parameter

Description

InShapedTextCache

The shaped text cache to use

InRunKey

The key identifying the cached shaped text for the run

InTextRange

The range of text that should be extracted into its own shaped glyph sequence

InText

The text to shape if we can't find the shaped text in the cache. InTextRange may specify a sub-section of the entire text

InTextDirection

The text direction of all of the text to be shaped

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