Method MapUvOnSphere
MapUvOnSphere(OccurrenceList, Sphere, int, bool)
Generate texture coordinates using the projection on a sphere
Declaration
[HandleProcessCorruptedStateExceptions]
public void MapUvOnSphere(OccurrenceList occurrences, Sphere sphere, int channel = 0, bool overrideExistingUVs = true)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences to process |
| Sphere | sphere | Sphere definition |
| int | channel | The UV channel which will contains the texture coordinates |
| bool | overrideExistingUVs | If True, override existing UVs on channel |