Navigation
API > API/Plugins > API/Plugins/PlanarCut
Deprecated * Use the UVLayout variant that takes ETargetFaces instead
References
| Module | PlanarCut |
| Header | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/FractureAutoUV.h |
| Include | #include "FractureAutoUV.h" |
namespace UE
{
namespace PlanarCut
{
bool UE&58;&58;PlanarCut&58;&58;UVLayout
&40;
int32 TargetUVLayer,
FGeometryCollection & Collection,
int32 UVRes,
float GutterSize,
EUseMaterials MaterialsPattern,
TArrayView< int32 > WhichMaterials,
bool bRecreateUVsForDegenerateIslands,
FProgressCancel &42; Progress
&41;
}
}
Remarks
Make a UV atlas of non-overlapping UV charts for a geometry collection
Parameters
| Name | Description |
|---|---|
| TargetUVLayer | Which UV layer to update with new UV coordinates |
| Collection | The collection to be atlas'd |
| UVRes | Target resolution for the atlas |
| GutterSize | Space to leave between UV islands, in pixels at the target resolution |
| MaterialsPattern | Which pattern of material IDs to automatically consider for UV island layout |
| WhichMaterials | If non-empty, consider listed material IDs for UV island layout |
| bRecreateUVsForDegenerateIslands | If true, detect and fix islands that don't have proper UVs (i.e. UVs all zero or otherwise collapsed to a point) |