FGlyphOffsetResult

Return data used by GetGlyphAtOffset

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h

Include

#include "Fonts/FontCache.h"

Syntax

struct FGlyphOffsetResult

Remarks

Return data used by GetGlyphAtOffset

Variables

Name Description

Public variable

int32

 

CharacterIndex

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

Public variable

const FShapedGl...

 

Glyph

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

Public variable

int32

 

GlyphOffset

The offset to the left edge of the hit glyph

Constructors

Name Description

Public function

FGlyphOffsetResult()

Public function

FGlyphOffsetResult

(
    const int32 InCharacterIndex
)

Public function

FGlyphOffsetResult

(
    const FShapedGlyphEntry* InGly...,
    const int32 InGlyphOffset
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss