FromMaterial(Material)
Creates a material definition from a Material.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static MaterialDefinition FromMaterial(Material m)
Parameters
The material to use.
Returns
Type | Description |
|---|---|
| MaterialDefinition | A new material definition object. |