SetRendererMaterial

Set the Renderer material.

SetRendererMaterial

Properties

Property Name Description
Renderer Renderer of interest.
Material Index Index of target material
See the various Renderer Materials (egMesh Renderer Materials) to see which material the index is.
Material Material to set.

Remarks

Materials are set in Renderer.sharedMaterials.