Method GetMaterials
GetMaterials(MaterialMeshInfo)
Gets the materials for given MaterialMeshInfo.
Declaration
public List<Material> GetMaterials(MaterialMeshInfo materialMeshInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialMeshInfo | materialMeshInfo | The MaterialMeshInfo to use. |
Returns
| Type | Description |
|---|---|
| List<Material> | Returns the associated material instances, or null if the material is runtime. |