---
title: "cameraFeed(exposureCompensation:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/arview/environment-swift.struct/background-swift.struct/camerafeed(exposurecompensation:)"
---

# cameraFeed(exposureCompensation:)

Use the camera feed as a background.

## Declaration

```swift
static func cameraFeed(exposureCompensation: Float = 0.0) -> ARView.Environment.Background
```

## Parameters

- `exposureCompensation`: The exposure compensation used on the camera feed to lighten or darken it.

## See Also

### Backgrounds

- [color(_:)](realitykit/arview/environment-swift.struct/background-swift.struct/color(_:)-97jik.md)
- [color(_:)](realitykit/arview/environment-swift.struct/background-swift.struct/color(_:)-5hh3f.md)
- [skybox(_:)](realitykit/arview/environment-swift.struct/background-swift.struct/skybox(_:).md)
