UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLayoutUV::FChartPacker Struct Reference

Public Member Functions

 FChartPacker (IMeshView &InMeshView, ELightmapUVVersion InLayoutVersion, uint32 TextureResolution)
 
bool FindBestPacking (const TArray< FVector2f > &TexCoords, const TArray< uint32 > &SortedTris, TArray< FMeshChart > &AllCharts)
 

Detailed Description

SECOND PASS: Given a set of charts, pack them in the UV space

Constructor & Destructor Documentation

◆ FChartPacker()

FLayoutUV::FChartPacker::FChartPacker ( IMeshView InMeshView,
ELightmapUVVersion  InLayoutVersion,
uint32  TextureResolution 
)

Member Function Documentation

◆ FindBestPacking()

bool FLayoutUV::FChartPacker::FindBestPacking ( const TArray< FVector2f > &  TexCoords,
const TArray< uint32 > &  SortedTris,
TArray< FMeshChart > &  AllCharts 
)

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