Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h |
| Include | #include "Framework/Text/ShapedTextCache.h" |
Syntax
class FShapedTextCache
Remarks
Cache of shaped text
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShapedTextCache
(
FPrivateToken, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FShapedGlyphSequenceRef | AddShapedText
(
const FCachedShapedTextKey& InKey, |
Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided | |
| FShapedGlyphSequenceRef | AddShapedText
(
const FCachedShapedTextKey& InKey, |
||
| FShapedGlyphSequenceRef | AddShapedText
(
const FCachedShapedTextKey& InKey, |
||
| void | Clear () |
Clear this cache | |
| FShapedTextCacheRef | Create
(
const TSharedRef< FSlateFontCache >& InFontCache |
Create a new shaped text cache | |
| FShapedGlyphSequenceRef | FindOrAddOverflowEllipsisText
(
const float InScale, |
Try and find an existing overflow shaped text instance, or add a new entry to the cache if one cannot be found. | |
| 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 | |
| FShapedGlyphSequenceRef | FindOrAddShapedText
(
const FCachedShapedTextKey& InKey, |
||
| FShapedGlyphSequencePtr | FindShapedText
(
const FCachedShapedTextKey& InKey |
Try and find an existing shaped text instance | |
| TSharedPtr< FSlateFontCache > | GetFontCache () |
Get the font cache used by this instance |