Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FShapedGlyphSequence
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGlyphOffsetResult GetGlyphAtOffset
(
FSlateFontCache& InFontCache, |
Get the information for the glyph at the specified position in pixels along the string horizontally | Fonts/FontCache.h | |
TOptional< FGlyphOffsetResult > GetGlyphAtOffset
(
FSlateFontCache& InFontCache, |
Get the information for the glyph at the specified position in pixels along the string horizontally | Fonts/FontCache.h |
GetGlyphAtOffset(FSlateFontCache &, const int32, const int32)
Description
Get the information for the glyph at the specified position in pixels along the string horizontally
| Name | GetGlyphAtOffset |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
FGlyphOffsetResult GetGlyphAtOffset
(
FSlateFontCache & InFontCache,
const int32 InHorizontalOffset,
const int32 InStartOffset
) const
The result data (see FGlyphOffsetResult)
GetGlyphAtOffset(FSlateFontCache &, const int32, const int32, const int32, const int32, const bool)
Description
Get the information for the glyph at the specified position in pixels along the string horizontally
The indices used here are relative to the start of the text we were shaped from, even if we were only shaped from a sub-section of that text
| Name | GetGlyphAtOffset |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
TOptional < FGlyphOffsetResult > GetGlyphAtOffset
(
FSlateFontCache & InFontCache,
const int32 InStartIndex,
const int32 InEndIndex,
const int32 InHorizontalOffset,
const int32 InStartOffset,
const bool InIncludeKerningWithPrecedingGlyph
) const
The result data (see FGlyphOffsetResult), or an unset value if we couldn't find the character (eg, because you started or ended on a merged ligature, or because the range is out-of-bounds)