---
title: SurroundingsEffect
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/surroundingseffect
---

# SurroundingsEffect

Effects that the system can apply to passthrough video.

## Declaration

```swift
struct SurroundingsEffect
```

## Overview

Overview Use one of these values with the preferredSurroundingsEffect(_:) view modifier to indicate what effect to apply to passthrough video when the modified view is displayed.

## Topics

### Getting the effect

- [systemDark](swiftui/surroundingseffect/systemdark.md)

### Type Properties

- [dark](swiftui/surroundingseffect/dark.md)
- [semiDark](swiftui/surroundingseffect/semidark.md)
- [ultraDark](swiftui/surroundingseffect/ultradark.md)

### Type Methods

- [colorMultiply(_:)](swiftui/surroundingseffect/colormultiply(_:).md)
- [dim(intensity:)](swiftui/surroundingseffect/dim(intensity:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)

## See Also

### Configuring passthrough

- [preferredSurroundingsEffect(_:)](swiftui/view/preferredsurroundingseffect(_:).md)
- [breakthroughEffect(_:)](swiftui/view/breakthrougheffect(_:).md)
- [BreakthroughEffect](swiftui/breakthrougheffect.md)
