UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FShapedGlyphFaceData Class Reference

#include <SlateTextShaper.h>

Public Member Functions

 FShapedGlyphFaceData (TWeakPtr< FFreeTypeFace > InFontFace, const uint32 InGlyphFlags, const float InFontSize, const float InFontScale, const float InFontSkew, const EFontRasterizationMode InRasterizationMode, const int16 InSdfPpem)
 

Public Attributes

TWeakPtr< FFreeTypeFaceFontFace
 
uint32 GlyphFlags
 
float FontSize
 
float FontScale
 
float BitmapRenderScale
 
float FontSkew
 
EFontRasterizationMode RasterizationMode
 
int16 SdfPpem
 

Detailed Description

Internal class used to hold the FreeType data within the shaped glyph sequence.

Constructor & Destructor Documentation

◆ FShapedGlyphFaceData()

FShapedGlyphFaceData::FShapedGlyphFaceData ( TWeakPtr< FFreeTypeFace InFontFace,
const uint32  InGlyphFlags,
const float  InFontSize,
const float  InFontScale,
const float  InFontSkew,
const EFontRasterizationMode  InRasterizationMode,
const int16  InSdfPpem 
)
inline

Member Data Documentation

◆ BitmapRenderScale

float FShapedGlyphFaceData::BitmapRenderScale

Any additional scale that should be applied when rendering this glyph

◆ FontFace

TWeakPtr<FFreeTypeFace> FShapedGlyphFaceData::FontFace

Weak pointer to the FreeType face to render with

◆ FontScale

float FShapedGlyphFaceData::FontScale

Provides the final scale used to render to the font

◆ FontSize

float FShapedGlyphFaceData::FontSize

Provides the point size used to render the font

◆ FontSkew

float FShapedGlyphFaceData::FontSkew

The skew transform amount for the rendered font

◆ GlyphFlags

uint32 FShapedGlyphFaceData::GlyphFlags

Provides the glyph flags used to render the font

◆ RasterizationMode

EFontRasterizationMode FShapedGlyphFaceData::RasterizationMode

The glyph rasterization mode (bitmap / distance field)

◆ SdfPpem

int16 FShapedGlyphFaceData::SdfPpem

Distance field px/em resolution, not used if RasterizationMode is Bitmap


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