Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FShapedTextCache
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShapedGlyphSequenceRef FindOrAddShapedText
(
const FCachedShapedTextKey& InKey, |
Try and find an existing shaped text instance, or add a new entry to the cache if one cannot be found | Framework/Text/ShapedTextCache.h | |
FShapedGlyphSequenceRef FindOrAddShapedText
(
const FCachedShapedTextKey& InKey, |
Framework/Text/ShapedTextCache.h |
FindOrAddShapedText(const FCachedShapedTextKey &, const TCHAR *)
Description
Try and find an existing shaped text instance, or add a new entry to the cache if one cannot be found
| Name | FindOrAddShapedText |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h |
| Include Path | #include "Framework/Text/ShapedTextCache.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Text/ShapedTextCache.cpp |
FShapedGlyphSequenceRef FindOrAddShapedText
(
const FCachedShapedTextKey & InKey,
const TCHAR * InText
)
The shaped text instance
Parameters
| Name | Remarks |
|---|---|
| InKey | The key identifying the shaped text instance to find or add |
| InText | The text to shape if we can't find the shaped text in the cache. InKey may specify a sub-section of the entire text |
| InTextDirection | The text direction of all of the text to be shaped. If present we do a unidirectional shape, otherwise we do a bidirectional shape |
FindOrAddShapedText(const FCachedShapedTextKey &, const TCHAR *, const TextBiDi::ETextDirection)
| Name | FindOrAddShapedText |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h |
| Include Path | #include "Framework/Text/ShapedTextCache.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Text/ShapedTextCache.cpp |
FShapedGlyphSequenceRef FindOrAddShapedText
(
const FCachedShapedTextKey & InKey,
const TCHAR * InText,
const TextBiDi::ETextDirection InTextDirection
)