FCharacterEntry

Information for rendering one non-shaped character

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/FontCache.h"

Syntax

struct FCharacterEntry

Remarks

Information for rendering one non-shaped character

Variables

Name Description

Public variable

float

 

BitmapRenderScale

Any additional scale that should be applied when rendering this glyph

Public variable

TCHAR

 

Character

The character this entry is for

Public variable

EFontFallback

 

FallbackLevel

The fallback level this character represents

Public variable

const FFontData...

 

FontData

The raw font data this character was rendered with

Public variable

float

 

FontScale

Scale that was applied when rendering this character

Public variable

int16

 

GlobalDescender

The largest vertical distance below the baseline for any character in the font

Public variable

uint32

 

GlyphIndex

The index of the glyph from the FreeType face that this entry is for

Public variable

bool

 

HasKerning

1 if this entry has kerning, 0 otherwise.

Public variable

int16

 

HorizontalOffset

The vertical distance from the origin to the left most border of the character

Public variable

TSharedPtr< FFr...

 

KerningCache

The kerning cache that this entry uses

Public variable

uint16

 

StartU

Start X location of the character in the texture

Public variable

uint16

 

StartV

Start Y location of the character in the texture

Public variable

bool

 

SupportsOutline

1 if this entry supports outline rendering, 0 otherwise.

Public variable

uint8

 

TextureIndex

Index to a specific texture in the font cache.

Public variable

uint16

 

USize

X Size of the character in the texture

Public variable

bool

 

Valid

1 if this entry is valid, 0 otherwise.

Public variable

int16

 

VerticalOffset

The vertical distance from the baseline to the topmost border of the character

Public variable

uint16

 

VSize

Y Size of the character in the texture

Public variable

int16

 

XAdvance

The amount to advance in X before drawing the next character in a string

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