Method GetMaterial
GetMaterial(MaterialMeshInfo)
Gets the material for given MaterialMeshInfo.
Declaration
public Material GetMaterial(MaterialMeshInfo materialMeshInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialMeshInfo | materialMeshInfo | The MaterialMeshInfo to use. |
Returns
| Type | Description |
|---|---|
| Material | Returns the associated material instance, or null if the material is runtime. |