---
title: SpotLightComponent.Shadow.QualityMode
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/spotlightcomponent/shadow/qualitymode
---

# SpotLightComponent.Shadow.QualityMode

The quality for the shadows. Low uses shadows that don’t change with light size and the distance between light-blocker-receiver Medium and high allow soft shadows with varying sample counts

## Declaration

```swift
struct QualityMode
```

## Topics

### Choosing a quality level

- [low](realitykit/spotlightcomponent/shadow/qualitymode/low.md)
- [medium](realitykit/spotlightcomponent/shadow/qualitymode/medium.md)

### Initializers

- [init(rawValue:)](realitykit/spotlightcomponent/shadow/qualitymode/init(rawvalue:).md)

### Instance Properties

- [rawValue](realitykit/spotlightcomponent/shadow/qualitymode/rawvalue.md)

### Type Properties

- [high](realitykit/spotlightcomponent/shadow/qualitymode/high.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring shadow quality

- [quality](realitykit/spotlightcomponent/shadow/quality.md)
- [lightSize](realitykit/spotlightcomponent/shadow/lightsize.md)
