Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/MeshUVPacking.h |
Include |
#include "Parameterization/MeshUVPacking.h" |
class FDynamicMeshUVPacker
FDynamicMeshUVPacker implements 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.
Name | Description | ||
---|---|---|---|
|
bAllowFlips |
If true, islands can be flipped in addition to rotate/translate/scale |
|
|
float |
GutterSize |
Thickness of gutter/border in pixel dimensions. Not supported by all packing methods |
|
TextureResolution |
Resolution of the target texture. This is used to convert pixel gutter/border thickness to UV space |
|
|
UVOverlay |
The UV Overlay we will be repacking |
Name | Description | |
---|---|---|
|
FDynamicMeshUVPacker ( |
Name | Description | ||
---|---|---|---|
|
StackPack() |
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. |
|
|
StandardPack() |
Standard UnrealEngine UV layout, similar to that used for Lightmap UVs. |