<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ObjectCaptureView/init(session:cameraFeedOverlay:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI17ObjectCaptureViewV7session17cameraFeedOverlayACyxGAA0eF7SessionC_xyXEtcfc"
  },
  "title" : "init(session:cameraFeedOverlay:)"
}
-->

# init(session:cameraFeedOverlay:)

Renders the current state of the provided session.

```
nonisolated init(session: ObjectCaptureSession, @ViewBuilder cameraFeedOverlay: () -> Overlay)
```

## Parameters

`cameraFeedOverlay`

A view that appears on top of the camera feed and below the point cloud view.

---

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)