文档

Unity Engine

Unity Engine

GetPopMaterial(int)

Gets the current Material assigned to the CanvasRenderer. Used internally for masking.
阅读时间1 分钟最后更新于 21 天前

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.