Method MapUvOnFittingCylinder
MapUvOnFittingCylinder(OccurrenceList, int, bool, bool, Point3?)
Generate texture coordinates using the projection on a fitting cylinder
Declaration
[HandleProcessCorruptedStateExceptions]
public void MapUvOnFittingCylinder(OccurrenceList occurrences, int channel = 0, bool overrideExistingUVs = true, bool useAABB = true, Point3? forcedAxis = null)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences 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) |
| Point3? | forcedAxis | Forced axis of the Cylinder |