---
title: shadowProjection
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/directionallightcomponent/shadow/shadowprojection
---

# shadowProjection

Sets the shadow projection used for shadow map rendering

## Declaration

```swift
var shadowProjection: DirectionalLightComponent.Shadow.ShadowProjectionType { get set }
```

## See Also

### Configuring the shadow

- [depthBias](realitykit/directionallightcomponent/shadow/depthbias.md)
- [cullModeOverride](realitykit/directionallightcomponent/shadow/cullmodeoverride.md)
- [maximumDistance](realitykit/directionallightcomponent/shadow/maximumdistance.md)
