Renderer.SetMaterials

Declaration

public void SetMaterials(List<Material> materials);

Parameters

materials The list of materials to assign to this renderer.

Description

Assigns the shared materials of this renderer using the list of materials provided.

Use this method to set the Renderer.sharedMaterials on this renderer using a list.

Additional resources: Renderer.sharedMaterials.


Did you find this page useful? Please give it a rating: