Documentation

Unity Engine

Download Unity

Unity Engine

GetPopMaterial(int)

Gets the current Material assigned to the CanvasRenderer. Used internally for masking.
Read time 1 minuteLast updated 22 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public Material GetPopMaterial(int index)

Parameters

index

The material index.

Returns

Type

Description

MaterialThe material used for the pop draw call at the specified index.