# material

> The material that will be projected onto every object.

## Definition

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

> **Warning:**
>
> **Deprecated.** Projector component is deprecated now that the Built-In Render Pipeline is deprecated. To use an alternative, refer to the documentation in the component help icon. #from(6000.5)

```csharp
public Material material { get; set; }
```

### Remarks

Note that unlike [Renderer.material](/engine/6000.6/script-reference/unityengine/renderer/material.md), this returns a shared material reference and not a unique duplicate.

Projector does nothing if it has no material set up. The [Standard Assets](https://assetstore.unity.com/packages/essentials/asset-packs/standard-assets-32351) package contains an example of Projector's material in *Blob-Shadow* folder.

Additional Resources: [projector component](/engine/6000.6/manual/visual-effects/decals/decals-birp/class-projector.md), [Material](/engine/6000.6/script-reference/unityengine/material.md) class.
