# OnMaterialPreviewSettingsGUI(MaterialEditor)

> Override for extending the functionality of the toolbar of the preview area or completly replace the toolbar by not calling base.OnMaterialPreviewSettingsGUI.

## Definition

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

```csharp
public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)
```

### Parameters

**** (\[MaterialEditor]\(/engine/6000.0/script-reference/unityeditor/materialeditor)): The MaterialEditor that are calling this method (the 'owner').
