# GetPropertyHeight(MaterialProperty, string, MaterialEditor)

> Override this method to specify how tall the GUI for this property is in pixels.

## Definition

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

```csharp
public virtual float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
```

### Parameters

**** (\[MaterialProperty]\(/engine/6000.5/script-reference/unityeditor/materialproperty)): The [MaterialProperty](/engine/6000.5/script-reference/unityeditor/materialproperty.md) to make the custom GUI for.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The label of this property.**** (\[MaterialEditor]\(/engine/6000.5/script-reference/unityeditor/materialeditor)): Current material editor.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

The default is one line high.
