Model:getMaterial
EditReturns a Material loaded from the Model.
Arguments
| Name | Type | Description |
| name | string | The name of the Material to return. |
Returns
| Name | Type | Description |
| material | Material | The material. |
Arguments
| Name | Type | Description |
| index | number | The index of the Material to return. |
Returns
| Name | Type | Description |
| material | Material | The material. |