---
title: environment
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/realityviewcameracontent/environment
---

# environment

The view’s background and default lighting properties.

## Declaration

```swift
var environment: RealityViewEnvironment { get set }
```
