---
title: estimatedDepthData
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arframe/estimateddepthdata
---

# estimatedDepthData

A buffer that represents the estimated depth values from the camera feed that you use to occlude virtual content.

## Declaration

```swift
var estimatedDepthData: CVPixelBuffer? { get }
```

## Discussion

Discussion Each non-background pixel in the segmentation buffer maps to a depth value in this buffer. Use this to occlude people from the rendering of your app’s virtual content. If you implement a custom renderer, you apply this property by using alpha and depth mattes provided with ARMatteGenerator. Apps using one of the standard renderers don’t need this property to occlude virtual content with people. The standard renderers (ARView, ARSCNView, and ARSKView) enable people occlusion when you add personSegmentation or personSegmentationWithDepth to your configuration’s frameSemantics.

## See Also

### Checking for people

- [detectedBody](arkit/arframe/detectedbody.md)
- [ARBody2D](arkit/arbody2d.md)
- [segmentationBuffer](arkit/arframe/segmentationbuffer.md)
- [ARFrame.SegmentationClass](arkit/arframe/segmentationclass.md)
