/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/MeshUVPacking.h
FDynamicMeshUVPackerimplements various strategies for packing UV islands in a UV Overlay. The island topology and UV unwraps must already be created, this class simply scales/rotates/translates the islands to fit.
class FDynamicMeshUVPacker
bool
bAllowFlips
If true, islands can be flipped in addition to rotate/translate/scale
bool
bScaleIslandsByWorldSpaceTexelRatio
Attempt to rescale islands to match texel-to-world-space ratio across islands, based on ratio of World- and UV-space edge lengths
float
GutterSize
Thickness of gutter/border in pixel dimensions. Not supported by all packing methods
int32
TextureResolution
Resolution of the target texture. This is used to convert pixel gutter/border thickness to UV space
TUniquePtr<TAr...
TidsToRepack
The explicit triangle ids to repack, repack all triangles if null
FDynamicMeshUVO...
UVOverlay
The UV Overlay we will be repacking