Method MapUvOnCustomAABB
MapUvOnCustomAABB(OccurrenceList, AABB, double, int, bool)
Generate texture coordinates using the projection on custom AABB
Declaration
[HandleProcessCorruptedStateExceptions]
public void MapUvOnCustomAABB(OccurrenceList occurrences, AABB aabb, double uv3dSize, int channel = 0, bool overrideExistingUVs = true)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences to process |
| AABB | aabb | Axis aligned bounding box to project on |
| double | uv3dSize | 3D size of the UV space [0-1] |
| int | channel | The UV channel which will contains the texture coordinates |
| bool | overrideExistingUVs | If True, override existing UVs on channel |