SetRendererTexture

Set the Renderer texture.

SetRendererTexture

Properties

Property Name Description
Renderer Renderer of interest.
Material Index Index of target material
See the various Renderer Materials (eg Mesh Renderer Materials) to see which material the index is.
Property Name Property name.
Texture The value to set.

Remarks

MaterialPropertyBlock is used for setting.