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" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Text/ShapedTextCache.cpp |
namespace ShapedTextCacheUtil
{
FVector2D ShapedTextCacheUtil&58;&58;MeasureShapedText
&40;
const FShapedTextCacheRef & InShapedTextCache,
const FCachedShapedTextKey & InRunKey,
const FTextRange & InMeasureRange,
const TCHAR &42; InText
&41;
}
Remarks
Measure a sub-section of a run of text The measured size of the shaped text
Parameters
| Name | Description |
|---|---|
| InShapedTextCache | The shaped text cache to use |
| InRunKey | The key identifying the cached shaped text for the run |
| InMeasureRange | The range of text that should be measured |
| InText | The text to shape if we can't find the shaped text in the cache. InMeasureRange may specify a sub-section of the entire text |