◆ SetPropertyBlock()

void SetPropertyBlock ( MaterialPropertyBlock  dest,
int  matIndex 
)
Parameters
destthe material's property will be set to use this value
matIndexspecified which material's MaterialPropertyBlock to interfaces with

Implemented in PerCameraMeshAndMaterials, BaseRendererToGraphicsInterfaceAdapter< TRendererType >, and CustomRenderer.

Referenced by MaterialPropertyBlockInterfaceExtensions.SetColor(), and MaterialPropertyBlockInterfaceExtensions.SetMainTexture().

+ Here is the caller graph for this function: