# IsPropertyOverriden

> Checks whether a property is overriden by this material.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## IsPropertyOverriden(int)

Checks whether a property is overriden by this material.

```csharp
public bool IsPropertyOverriden(int nameID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Property name ID, use [Shader.PropertyToID](/engine/6000.0/script-reference/unityengine/shader/propertytoid.md) to get it.

### Returns

| Type                                                          | Description                                                                                       |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the property you pass in is overriden by this material. Otherwise, returns false. |

### Remarks

This method is Editor-only.

Additional Resources: [Material.ApplyPropertyOverride](/engine/6000.0/script-reference/unityengine/material/applypropertyoverride.md), [Material.RevertPropertyOverride](/engine/6000.0/script-reference/unityengine/material/revertpropertyoverride.md).

## IsPropertyOverriden(string)

Checks whether a property is overriden by this material.

```csharp
public bool IsPropertyOverriden(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Property name, e.g. "\_SrcBlend".

### Returns

| Type                                                          | Description                                                                                       |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the property you pass in is overriden by this material. Otherwise, returns false. |

### Remarks

This method is Editor-only.

Additional Resources: [Material.ApplyPropertyOverride](/engine/6000.0/script-reference/unityengine/material/applypropertyoverride.md), [Material.RevertPropertyOverride](/engine/6000.0/script-reference/unityengine/material/revertpropertyoverride.md).
