Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Parameterization/UVPacking.h |
Include |
#include "Parameterization/UVPacking.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Parameterization/UVPacking.cpp |
bool StackPack
(
IUVMeshView * Mesh,
int NumIslands,
TFunctionRef< void< int32 > &)> CopyIsland
)
Uniformly scale all UV islands so that the largest fits in positive-unit-square, and translate each islands separately so that it's bbox-min is at the origin. So the islands are "stacked" and all fit in the unit box.