# overrideMaterialPassIndex

> Selects which pass of the override material to use.

## Definition

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

```csharp
public int overrideMaterialPassIndex { get; set; }
```
