FCharacterRenderData

Contains pixel data for a character rendered from freetype as well as measurement info

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/FontTypes.h"

Syntax

struct FCharacterRenderData

Remarks

Contains pixel data for a character rendered from freetype as well as measurement info

Variables

Name Description

Public variable

bool

 

bIsGrayscale

True if the rendered character is 8-bit grayscale, or false if it's 8-bit per-channel BGRA color

Public variable

bool

 

bSupportsOutline

True if the rendered character supports outlines, false otherwise

Public variable

int16

 

HorizontalOffset

The horizontal distance from the origin to the leftmost border of the character

Public variable

TArray< uint8 >

 

RawPixels

Raw pixels of the rendered character

Public variable

int16

 

SizeX

Width of the character in pixels

Public variable

int16

 

SizeY

Height of the character in pixels

Public variable

int16

 

VerticalOffset

The vertical distance from the baseline to the topmost border of the glyph bitmap

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