Method MapUvOnAABB
MapUvOnAABB(OccurrenceList, bool, double, int, bool, bool)
Generate texture coordinates using the projection on object Axis Aligned Bounding Box
Declaration
[HandleProcessCorruptedStateExceptions]
public void MapUvOnAABB(OccurrenceList occurrences, bool useLocalAABB, double uv3dSize, int channel = 0, bool overrideExistingUVs = true, bool ignoreScale = true)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences to process |
| bool | useLocalAABB | If enabled, uses part own bounding box, else use global one |
| 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 |
| bool | ignoreScale | If this and useLocalAABB are true, ignore local scale |