<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARDepthData",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARDepthData"
  },
  "title" : "ARDepthData"
}
-->

# ARDepthData

An object that describes the distance to regions of the real world from the plane of the camera.

```
class ARDepthData
```

## Overview

This object contains the following depth information that the LiDAR scanner captures at runtime:

- Every pixel in the [`depthMap`](/documentation/ARKit/ARDepthData/depthMap) maps to a region of the visible scene ([`capturedImage`](/documentation/ARKit/ARFrame/capturedImage)), where the pixel value defines that region’s distance from the plane of the camera in meters.
- The [`confidenceMap`](/documentation/ARKit/ARDepthData/confidenceMap) property measures the accuracy of the corresponding depth data in [`depthMap`](/documentation/ARKit/ARDepthData/depthMap), and is useful in filtering out lower-accuracy depth values if an app’s algorithm required it.

[`ARWorldTrackingConfiguration`](/documentation/ARKit/ARWorldTrackingConfiguration) exposes this depth information in the [`sceneDepth`](/documentation/ARKit/ARFrame/sceneDepth) property which it updates every frame. To enable scene depth, add the [`sceneDepth`](/documentation/ARKit/ARConfiguration/FrameSemantics-swift.struct/sceneDepth) frame semantic to a world-tracking configuration’s [`frameSemantics`](/documentation/ARKit/ARConfiguration/frameSemantics-swift.property) and frames vended by the session contain [`ARDepthData`](/documentation/ARKit/ARDepthData) captured by the LiDAR scanner.

## Topics

### Depth Information

[`depthMap`](/documentation/ARKit/ARDepthData/depthMap)

The estimated distance from the device to its environment, in meters.

[`confidenceMap`](/documentation/ARKit/ARDepthData/confidenceMap)

The framework’s confidence in the accuracy of the depth-map data.

[`ARConfidenceLevel`](/documentation/ARKit/ARConfidenceLevel)

Degrees to which the framework is confident about depth-data accuracy.



---

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)