UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Slate::FPreprocessedGlyphGeometryView Class Reference

#include <PreprocessedFontGeometry.h>

Public Member Functions

 FPreprocessedGlyphGeometryView ()
 
 FPreprocessedGlyphGeometryView (uint8 InFlags, int32 InContourCount, const uint8 *InContourDataPtr, const int16 *InCoordinateDataPtr, int32 InContourDataLength, int32 InCoordinateDataLength)
 
bool UpdateGeometry (SlateMsdfgen::FShape &OutMsdfgenShape) const
 
bool UpdateWindings (SlateMsdfgen::FShape &InOutMsdfgenShape) const
 
bool HasAllContoursReversedWindings () const
 

Public Attributes

friend FPreprocessedFontGeometry
 

Detailed Description

Representation of an FPreprocessedGlyphGeometry object stored elsewhere.

Constructor & Destructor Documentation

◆ FPreprocessedGlyphGeometryView() [1/2]

UE::Slate::FPreprocessedGlyphGeometryView::FPreprocessedGlyphGeometryView ( )
inline

◆ FPreprocessedGlyphGeometryView() [2/2]

UE::Slate::FPreprocessedGlyphGeometryView::FPreprocessedGlyphGeometryView ( uint8  InFlags,
int32  InContourCount,
const uint8 InContourDataPtr,
const int16 InCoordinateDataPtr,
int32  InContourDataLength,
int32  InCoordinateDataLength 
)

Member Function Documentation

◆ HasAllContoursReversedWindings()

bool UE::Slate::FPreprocessedGlyphGeometryView::HasAllContoursReversedWindings ( ) const

Returns true if all contours have reversed windings.

◆ UpdateGeometry()

bool UE::Slate::FPreprocessedGlyphGeometryView::UpdateGeometry ( SlateMsdfgen::FShape OutMsdfgenShape) const

If full geometry data is available, OutMsdfgenShape will be overwritten with this data. Otherwise, false is returned.

◆ UpdateWindings()

bool UE::Slate::FPreprocessedGlyphGeometryView::UpdateWindings ( SlateMsdfgen::FShape InOutMsdfgenShape) const

If winding data is available and the provided MSDFgen Shape is compatible, its contours will be reversed based on this data. Otherwise, false is returned.

Member Data Documentation

◆ FPreprocessedFontGeometry

friend UE::Slate::FPreprocessedGlyphGeometryView::FPreprocessedFontGeometry

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