Method MapUvOnFittingCylinder
MapUvOnFittingCylinder(OccurrenceList, int, bool, bool)
Generate texture coordinates using the projection on a fitting cylinder
Declaration
public void MapUvOnFittingCylinder(OccurrenceList occurrences, int channel = 0, bool overrideExistingUVs = true, bool useAABB = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part to process |
int | channel | The UV channel which will contains the texture coordinates |
bool | overrideExistingUVs | If True, override existing UVs on channel |
bool | useAABB | If true use for the fitting the global Axis Aligned Bounding Box (AABB), else use a Minimum Bounding Box (MBB only based on transformed AABB of occurrences) |