Method MergeUVIslandsRelaxed
MergeUVIslandsRelaxed(OccurrenceList, int, int, double, bool)
Minimizes the number of seams in the UV mapping by merging UV islands using local reparametrization near the UV seams (recommanded for organic surfaces)
Declaration
[HandleProcessCorruptedStateExceptions]
public void MergeUVIslandsRelaxed(OccurrenceList occurrences, int channel, int targetIslandCount = 0, double energyThreshold = 0.01, bool forceIsolatedFaces = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Part occurrences to process |
int | channel | UV channel to use |
int | targetIslandCount | Target number of islands (zero means the algorithm runs until no more merging is possible) |
double | energyThreshold | Max energy allowed during local reparametrization |
bool | forceIsolatedFaces | UV islands consisting in a single isolated face completely surrounded by another island are forced to be merged, without reparametrization. |