<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/Environment-swift.struct/SceneUnderstanding-swift.struct/Options-swift.struct/occlusion",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit6ARViewC11EnvironmentV18SceneUnderstandingV7OptionsV9occlusionAIvpZ"
  },
  "title" : "occlusion"
}
-->

# occlusion

The `.occlusion` option means that the reconstructed geometry will be used for rendering,
but only to update the depth buffer. Parts of virtual objects which are
behind the reconstructed geometry are not rendered.

```
static let occlusion: ARView.Environment.SceneUnderstanding.Options
```

---

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)