◆ SetPropertyBlock() [2/2]

virtual void SetPropertyBlock ( MaterialPropertyBlock  dest,
int  matIndex 
)
virtual
Parameters
destthe material use by the rendererRef, will be set to use this MaterialPropertyBlock
matIndexthe index of the material in the renderer to check

Implements IGraphicsMultiMaterialPropertyBlockInterface.

Reimplemented in SpriteRendererToGraphicsInterfaceAdapter.