public Material GetMaterial (int index);
public Material GetMaterial ();

Parámetros

indexThe material index to retrieve (0 if this parameter is omitted).

Valor de retorno

Material Result.

Descripción

Gets the current Material assigned to the CanvasRenderer.