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