# SimplePbrMaterial.Roughness property

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.

**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 float Roughness { get; set; }
```

## See Also

* class [SimplePbrMaterial](../SimplePbrMaterial.md)
* namespace [Eremex.AvaloniaUI.Controls3D](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
