<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SurroundingsEffect",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI18SurroundingsEffectV"
  },
  "title" : "SurroundingsEffect"
}
-->

# SurroundingsEffect

Effects that the system can apply to passthrough video.

```
struct SurroundingsEffect
```

## Overview

Use one of these values with the [`preferredSurroundingsEffect(_:)`](/documentation/SwiftUI/View/preferredSurroundingsEffect(_:))
view modifier to indicate what effect to apply to
passthrough video when the modified view is displayed.

## Topics

### Getting the effect

[`systemDark`](/documentation/SwiftUI/SurroundingsEffect/systemDark)

An effect that dims passthrough video.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)