Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Parameterization/UVPacking.h |
Include |
#include "Parameterization/UVPacking.h" |
class FUVPacker
FUVPacker implements 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.
Name | Description | ||
---|---|---|---|
|
bAllowFlips |
If true, islands can be flipped in addition to rotate/translate/scale |
|
|
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 |
|
TextureResolution |
Resolution of the target texture. This is used to convert pixel gutter/border thickness to UV space |
Name | Description | ||
---|---|---|---|
|
GetIslandStats ( |
Compute common stats used by the packing algorithms to transform UV islands |
|
|
StackPack ( |
Version of StackPack that takes an array of arrays instead of a TFunctionRef, for convenience. |
|
|
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 ( |
Version of StandardPack that takes an array of arrays instead of a TFunctionRef, for convenience. |
|
|
StandardPack ( |
Standard UE UV layout, similar to that used for Lightmap UVs. |
Name |
Description |
|
---|---|---|
|
IUVMeshView |
Abstract interface to apply UV packer a mesh |