UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FShapedGlyphSequence::FGlyphOffsetResult Struct Reference

#include <FontCache.h>

Public Member Functions

 FGlyphOffsetResult ()
 
 FGlyphOffsetResult (const int32 InCharacterIndex)
 
 FGlyphOffsetResult (const FShapedGlyphEntry *InGlyph, const int32 InGlyphOffset)
 

Public Attributes

const FShapedGlyphEntryGlyph
 
int32 GlyphOffset
 
int32 CharacterIndex
 

Detailed Description

Return data used by GetGlyphAtOffset

Constructor & Destructor Documentation

◆ FGlyphOffsetResult() [1/3]

FShapedGlyphSequence::FGlyphOffsetResult::FGlyphOffsetResult ( )
inline

◆ FGlyphOffsetResult() [2/3]

FShapedGlyphSequence::FGlyphOffsetResult::FGlyphOffsetResult ( const int32  InCharacterIndex)
inlineexplicit

◆ FGlyphOffsetResult() [3/3]

FShapedGlyphSequence::FGlyphOffsetResult::FGlyphOffsetResult ( const FShapedGlyphEntry InGlyph,
const int32  InGlyphOffset 
)
inline

Member Data Documentation

◆ CharacterIndex

int32 FShapedGlyphSequence::FGlyphOffsetResult::CharacterIndex

The character index that was hit (set to the start or end index if we fail to hit a glyph)

◆ Glyph

const FShapedGlyphEntry* FShapedGlyphSequence::FGlyphOffsetResult::Glyph

The glyph that was hit. May be null if we hit outside the range of any glyph

◆ GlyphOffset

int32 FShapedGlyphSequence::FGlyphOffsetResult::GlyphOffset

The offset to the left edge of the hit glyph


The documentation for this struct was generated from the following file: