# DefaultShaderProperty

> Handles UI for one shader property ignoring any custom drawers.

## Definition

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

## DefaultShaderProperty(MaterialProperty, string)

Handles UI for one shader property ignoring any custom drawers.

```csharp
public void DefaultShaderProperty(MaterialProperty prop, string label)
```

### Parameters

**** (\[MaterialProperty]\(/engine/6000.7/script-reference/unityeditor/materialproperty)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Remarks

This is similar to [MaterialEditor.ShaderProperty](/engine/6000.7/script-reference/unityeditor/materialeditor/shaderproperty.md) function, except it ignores any custom [MaterialPropertyDrawer](/engine/6000.7/script-reference/unityeditor/materialpropertydrawer.md) objects.

## DefaultShaderProperty(Rect, MaterialProperty, string)

Handles UI for one shader property ignoring any custom drawers.

```csharp
public void DefaultShaderProperty(Rect position, MaterialProperty prop, string label)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)): **** (\[MaterialProperty]\(/engine/6000.7/script-reference/unityeditor/materialproperty)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Remarks

This is similar to [MaterialEditor.ShaderProperty](/engine/6000.7/script-reference/unityeditor/materialeditor/shaderproperty.md) function, except it ignores any custom [MaterialPropertyDrawer](/engine/6000.7/script-reference/unityeditor/materialpropertydrawer.md) objects.
