文档

Unity Engine

Unity Engine

SetPopMaterial(Material, int)

Set the material for the canvas renderer. Used internally for masking.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetPopMaterial(Material material, int index)

Parameters

material

The material to use for the pop draw call.

index

The material index.