Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Parameterization > API/Runtime/GeometryCore/Parameterization/FUVPacker > API/Runtime/GeometryCore/Parameterization/FUVPacker/StackPack
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Parameterization/UVPacking.h |
| Include | #include "Parameterization/UVPacking.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Parameterization/UVPacking.cpp |
bool StackPack
&40;
IUVMeshView &42; Mesh,
int NumIslands,
TFunctionRef< void(int, TArray< int32 > &)> CopyIsland
&41;
Remarks
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.