# OnPreviewSettings()

> Call this from Editor.OnPreviewSettings() or ObjectPreview.OnPreviewSettings to draw additional settings related to the mesh preview.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public void OnPreviewSettings()
```

### Remarks

This is optional. Using this feature will enable settings to display a wireframe overlay, different render modes, and UV layout displays.
