# shadowCastingMode

> Does this object cast shadows?

## Definition

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

```csharp
public ShadowCastingMode shadowCastingMode { get; set; }
```

### Remarks

[ShadowCastingMode](/engine/6000.7/script-reference/unityengine/rendering/shadowcastingmode.md) enum defines how and if shadows are cast from this object. Typically shadows are either cast or not, but it's also possible to make shadows two-sided (useful for otherwise single-sided geometry) or make a shadows-only object (that is otherwise invisible in the Scene, but casts a shadow).

Additional Resources: [ShadowCastingMode](/engine/6000.7/script-reference/unityengine/rendering/shadowcastingmode.md), [Renderer.receiveShadows](/engine/6000.7/script-reference/unityengine/renderer/receiveshadows.md), [Light.shadows](/engine/6000.7/script-reference/unityengine/light/shadows.md).
