FromMaterial(Material)
Creates a material definition from a Material.
읽는 시간 1분최근 업데이트: 한 달 전
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. |