# targetMaterialProperty

> Material texture property which is targeted when VideoPlayer.renderMode is set to MaterialOverride.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Video](/engine/6000.6/script-reference/unityengine/video.md)
* **Assembly:** UnityEngine.VideoModule

```csharp
public string targetMaterialProperty { get; set; }
```

### Remarks

The video is sent to every [Material](/engine/6000.6/script-reference/unityengine/material.md) in the [Renderer](/engine/6000.6/script-reference/unityengine/renderer.md) that has the targeted texture property. When this property is empty, the [VideoPlayer](/engine/6000.6/script-reference/unityengine/video/videoplayer.md) uses the name of the material's first [main texture](/engine/6000.6/script-reference/unityengine/material/maintexture.md). If no main texture is found, the [VideoPlayer](/engine/6000.6/script-reference/unityengine/video/videoplayer.md) uses the name of the material's first texture property.
