This version of Unity is unsupported.

CanvasRenderer.GetPopMaterial

Switch to Manual

Declaration

public Material GetPopMaterial(int index);

Description

Gets the current Material assigned to the CanvasRenderer. Used internally for masking.