Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text > API/Runtime/Slate/Framework/Text/FShapedTextCache > API/Runtime/Slate/Framework/Text/FShapedTextCache/AddShapedText
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 |
FShapedGlyphSequenceRef AddShapedText
&40;
const FCachedShapedTextKey & InKey,
const TCHAR &42; InText
&41;
Remarks
Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided The shaped text instance
Parameters
| Name | Description |
|---|---|
| InKey | The key identifying the shaped text instance to add |
| InText | The text to shape. 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 |
| InShapedText | The shaped text instance to add |