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
{
int8 ShapedTextCacheUtil&58;&58;GetShapedGlyphKerning
&40;
const FShapedTextCacheRef & InShapedTextCache,
const FCachedShapedTextKey & InRunKey,
const int32 InGlyphIndex,
const TCHAR &42; InText
&41;
}
Remarks
Get the kerning between two shaped glyphs The kerning
Parameters
| Name | Description |
|---|---|
| InShapedTextCache | The shaped text cache to use |
| InRunKey | The key identifying the cached shaped text for the run |
| InGlyphIndex | The index of the glyph to get the kerning for (will get it between the given glyph, and it's next glyph) |
| InText | The text to shape if we can't find the shaped text in the cache. (InGlyphIndex, InGlyphIndex+1) will be the range used |