Method AutomaticUVMapping
AutomaticUVMapping(OccurrenceList, int, double, double, bool, bool)
Generates the texture coordinates and automatically cut
Declaration
public void AutomaticUVMapping(OccurrenceList occurrences, int channel = 0, double maxAngleDistorsion = 0.5, double maxAreaDistorsion = -1, bool sharpToSeam = true, bool forbidOverlapping = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part to process |
int | channel | The UV channel which will contains the texture coordinates |
double | maxAngleDistorsion | Maximum angle distorsion |2PI-SumVtxAng|/2PI |
double | maxAreaDistorsion | Maximum area distorsion before scale to 1. |2DArea-3DArea|/3DArea |
bool | sharpToSeam | If enabled, sharp edges are automatically considered as UV seams |
bool | forbidOverlapping | If enabled, UV cannot overlap |