# GetDefaultPropertyHeight(MaterialProperty)

> Calculate height needed for the property, ignoring custom drawers.

## Definition

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

```csharp
public static float GetDefaultPropertyHeight(MaterialProperty prop)
```

### Parameters

**** (\[MaterialProperty]\(/engine/6000.0/script-reference/unityeditor/materialproperty)):&#x20;

### Returns

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

### Remarks

This is similar to [MaterialEditor.GetPropertyHeight](/engine/6000.0/script-reference/unityeditor/materialeditor/getpropertyheight.md), except it ignores any custom [MaterialPropertyDrawer](/engine/6000.0/script-reference/unityeditor/materialpropertydrawer.md) objects.
