Renderer.material
Name | Type |
---|---|
material | Material |
Description
Returns the first instantiated Material assigned to the renderer. Modifying material will change the material for this object only.
Extra Detail
If the material is used by any other renderers, this will clone the shared material and start using it from now on.