# shadowCastingModeMask

> A value that indicates which ShadowCastingMode values are acccepted by this testing configuration.

## Definition

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

```csharp
public int shadowCastingModeMask
```

### Remarks

If a Renderer's [ShadowCastingMode](/engine/6000.6/script-reference/unityengine/rendering/shadowcastingmode.md) is not matching this mask then the test fails.

If all [ShadowCastingMode](/engine/6000.6/script-reference/unityengine/rendering/shadowcastingmode.md) values are accepted then use -1 for this value.
