# SimplePbrMaterial class

Represents a material that is defined by a single base color and by scalar shading parameters, instead of by textures.

**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 class SimplePbrMaterial : Material, ISimplePbrMaterial
```

## Public Members

| name | description |
| --- | --- |
| [SimplePbrMaterial](SimplePbrMaterial/SimplePbrMaterial.md)() | Initializes a new instance of the SimplePbrMaterial class with the default shading parameters. |
| [SimplePbrMaterial](SimplePbrMaterial/SimplePbrMaterial.md)(…) | Initializes a new instance of the SimplePbrMaterial class with the specified base color and key. |
| [Albedo](SimplePbrMaterial/Albedo.md) { get; set; } | Gets or sets the base color of the surface. The default value is gray. |
| [Alpha](SimplePbrMaterial/Alpha.md) { get; set; } | Gets or sets the opacity of the material. The default value is one, which makes the material opaque. A value below one makes the material transparent. |
| [AmbientOcclusion](SimplePbrMaterial/AmbientOcclusion.md) { get; set; } | Gets or sets the factor that dims the ambient, image-based lighting applied to the surface. The default value is one, which leaves the ambient lighting unchanged. |
| [Emission](SimplePbrMaterial/Emission.md) { get; set; } | Gets or sets the color of the light that the material emits by itself. The default value is black, which means the material emits no light. |
| [Metallic](SimplePbrMaterial/Metallic.md) { get; set; } | Gets or sets whether the surface behaves as a metal. The default value is zero, which makes the surface a dielectric that does not reflect the environment map. |
| [Roughness](SimplePbrMaterial/Roughness.md) { get; set; } | Gets or sets how rough the surface is. Zero produces a mirror-like surface, and one produces a fully diffuse surface. The default value is 0.2. |

## See Also

* class [Material](./Material.md)
* namespace [Eremex.AvaloniaUI.Controls3D](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
