void SetPropertyBlock | ( | MaterialPropertyBlock | dest, |
int | matIndex | ||
) |
dest | the material's property will be set to use this value |
matIndex | specified which material's MaterialPropertyBlock to interfaces with |
Implemented in PerCameraMeshAndMaterials, BaseRendererToGraphicsInterfaceAdapter< TRendererType >, and CustomRenderer.
Referenced by MaterialPropertyBlockInterfaceExtensions.SetColor(), and MaterialPropertyBlockInterfaceExtensions.SetMainTexture().