Method SetSubpartMaterials
SetSubpartMaterials(uint, MaterialList, uint)
Set multiple subpart materials at once using a SubpartMaterial component
Declaration
[HandleProcessCorruptedStateExceptions]
public void SetSubpartMaterials(uint occurrence, MaterialList materials, uint startIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
uint | occurrence | The Occurrence on which to apply the materials |
MaterialList | materials | Materials to set |
uint | startIndex | The subpart start index |