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

Public Member Functions

void WrapNonMitered (const msdfgen::Shape::Bounds &InMsdfgenBounds, const uint16 InUnitsPerEm, const int32 InPpem, const float InEmOuterSpread)
 
void WrapMitered (const msdfgen::Shape &MsdfgenShape, const msdfgen::Shape::Bounds &InMsdfgenBounds, const uint16 InUnitsPerEm, const int32 InPpem, const float InEmOuterSpread, const double InMiterLimit)
 
void SetSpread (const uint16 InUnitsPerEm, const float InEmOuterSpread, const float InEmInnerSpread)
 
const msdfgen::SDFTransformation & GetMsdfgenTransformation () const
 
int32 GetSdfWidth () const
 
int32 GetSdfHeight () const
 
int32 GetBearingX () const
 
int32 GetBearingY () const
 

Detailed Description

Specifies how the glyph's shape geometry will be mapped into the distance field's pixel coordinate system and how the distance values are mapped to the 0 - 255 range.

Member Function Documentation

◆ GetBearingX()

int32 SdfUtils::FGlyphSdfMapping::GetBearingX ( ) const
inline

◆ GetBearingY()

int32 SdfUtils::FGlyphSdfMapping::GetBearingY ( ) const
inline

◆ GetMsdfgenTransformation()

const msdfgen::SDFTransformation & SdfUtils::FGlyphSdfMapping::GetMsdfgenTransformation ( ) const
inline

◆ GetSdfHeight()

int32 SdfUtils::FGlyphSdfMapping::GetSdfHeight ( ) const
inline

◆ GetSdfWidth()

int32 SdfUtils::FGlyphSdfMapping::GetSdfWidth ( ) const
inline

◆ SetSpread()

void SdfUtils::FGlyphSdfMapping::SetSpread ( const uint16  InUnitsPerEm,
const float  InEmOuterSpread,
const float  InEmInnerSpread 
)

◆ WrapMitered()

void SdfUtils::FGlyphSdfMapping::WrapMitered ( const msdfgen::Shape &  MsdfgenShape,
const msdfgen::Shape::Bounds &  InMsdfgenBounds,
const uint16  InUnitsPerEm,
const int32  InPpem,
const float  InEmOuterSpread,
const double  InMiterLimit 
)
inline

Computes planar mapping for the minimum pixel-aligned bounding box for the glyph and the outside portion of its spread (mitered), origin stays at pixel boundaries

◆ WrapNonMitered()

void SdfUtils::FGlyphSdfMapping::WrapNonMitered ( const msdfgen::Shape::Bounds &  InMsdfgenBounds,
const uint16  InUnitsPerEm,
const int32  InPpem,
const float  InEmOuterSpread 
)
inline

Computes planar mapping for the minimum pixel-aligned bounding box for the glyph and the outside portion of its spread (non-mitered), origin stays at pixel boundaries


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