# 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/7000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

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

### Parameters

**** (\[MaterialProperty]\(/engine/7000.0/script-reference/unityeditor/materialproperty)): The [MaterialProperty](/engine/7000.0/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/7000.0/script-reference/unityeditor/materialeditor)): Current material editor.

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The height, in pixels, needed to draw the property. |

### Remarks

The default is one line high.
