Method MapUvOnFittingSphere
MapUvOnFittingSphere(OccurrenceList, int, bool, bool)
Generate texture coordinates using the projection on a fitting sphere
Declaration
[HandleProcessCorruptedStateExceptions]
public void MapUvOnFittingSphere(OccurrenceList occurrences, int channel = 0, bool overrideExistingUVs = true, bool useAABB = true)
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)  |