# Material class

Serves as the base class for materials that define how a mesh is shaded.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public abstract class Material : Control, ITexturedPbrMaterial
```

## Public Members

| name | description |
| --- | --- |
| [Key](Material/Key.md) { get; set; } | Gets or sets the key that identifies the material within the control. Meshes refer to a material by this key. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls3D](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
