<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ObjectCaptureView",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI17ObjectCaptureViewV"
  },
  "title" : "ObjectCaptureView"
}
-->

# ObjectCaptureView

A view that guides a user through capturing images for object capture.

```
@MainActor @preconcurrency struct ObjectCaptureView<Overlay> where Overlay : View
```

## Overview

The primary view of the Object Capture front-end 3D UI.  This view is used to present the UI for a given
[`ObjectCaptureSession`](/documentation/RealityKit/ObjectCaptureSession).
It presents the current state of the wrapped session.
The view can be taken down temporarily to show the [`ObjectCapturePointCloudView`](/documentation/RealityKit/ObjectCapturePointCloudView)
or an app’s custom tutorial pages.
If a [`ObjectCaptureView`](/documentation/RealityKit/ObjectCaptureView) is removed from the content view,
creating a new [`ObjectCaptureView`](/documentation/RealityKit/ObjectCaptureView) from the original view’s [`ObjectCaptureSession`](/documentation/RealityKit/ObjectCaptureSession)
resumes the in-progress capture session.

---

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)