Method AlignUVIslands
AlignUVIslands(OccurrenceList, int, double, double, AlignmentMode)
WARNING: this function is tagged as 'EXPERIMENTAL'
Align with the axes the UVs of the islands
Declaration
[HandleProcessCorruptedStateExceptions]
public void AlignUVIslands(OccurrenceList occurrences, int channel = 0, double usePolygonsWeights = 0, double useVerticesWeights = 0, AlignmentMode alignmentMode = AlignmentMode.Auto)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences to process |
| int | channel | UV channel to merge |
| double | usePolygonsWeights | Use polygons weights to give more importance to what must be aligned |
| double | useVerticesWeights | Use vertices weights to give more importance to what must be aligned |
| AlignmentMode | alignmentMode | With which axis the UVs should be aligned |