/Engine/Source/Runtime/GeometryCore/Public/Parameterization/UVPacking.h
FUVPackerimplements various strategies for packing UV islands in a generic mesh class. The UV islands must already be identified, this class simply scales/rotates/translates the islands to fit.
class FUVPacker
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