Method CombineMaterials
CombineMaterials(OccurrenceList, BakeOption, bool, bool)
Combine all given meshes to one mesh with one material (baked)
Declaration
public void CombineMaterials(OccurrenceList occurrences, BakeOption bakingOptions, bool overrideExistingUVs = true, bool singularizeOnAO = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part to process |
BakeOption | bakingOptions | Baking options |
bool | overrideExistingUVs | If True, override existing UVs on channel |
bool | singularizeOnAO | If true, singularize all instances in the selected subtree if we want to bake AO in the texture |