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
The material index.
Returns
Type | Description |
|---|---|
| Material | The material used for the pop draw call at the specified index. |