Model.SetMaterial
Model.SetMaterial
void SetMaterial(int subsetIndex, Material material)
[Obsolete] For removal in v0.4. Use Nodes/Visuals.Material instead. Changes the Material for the subset to a new one!
int subsetIndex | Index of the model subset to replace, should be less than SubsetCount. |
Material material | The new Material, cannot be null. |