---
title: DirectionalLightComponent.Shadow.ShadowProjectionType
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/directionallightcomponent/shadow/shadowprojectiontype
---

# DirectionalLightComponent.Shadow.ShadowProjectionType

## Declaration

```swift
enum ShadowProjectionType
```

## Topics

### Shadow projection types

- [DirectionalLightComponent.Shadow.ShadowProjectionType.automatic(maximumDistance:)](realitykit/directionallightcomponent/shadow/shadowprojectiontype/automatic(maximumdistance:).md)
- [DirectionalLightComponent.Shadow.ShadowProjectionType.fixed(zNear:zFar:orthographicScale:)](realitykit/directionallightcomponent/shadow/shadowprojectiontype/fixed(znear:zfar:orthographicscale:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)

## See Also

### Directional lights and their shadows

- [DirectionalLightComponent](realitykit/directionallightcomponent.md)
- [DirectionalLightComponent.Shadow](realitykit/directionallightcomponent/shadow.md)
- [DirectionalLightComponent.Shadow.ShadowMapCullMode](realitykit/directionallightcomponent/shadow/shadowmapcullmode.md)
