---
title: builtInTrueDepthCamera
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avcapturedevice/devicetype-swift.struct/builtintruedepthcamera
---

# builtInTrueDepthCamera

A device that consists of two cameras, one Infrared and one YUV.

## Declaration

```swift
static let builtInTrueDepthCamera: AVCaptureDevice.DeviceType
```

## Mentioned in

Capturing photos with depth

## Discussion

Discussion The infrared camera provides high-quality depth information that’s synchronized and perspective corrected to the frame the YUV camera produces. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. important: To obtain a device of this type, use the default(_:for:position:) method or the AVCaptureDevice.DiscoverySession class. Other methods don’t discover devices of this type.

## See Also

### Depth sensing

- [builtInLiDARDepthCamera](avfoundation/avcapturedevice/devicetype-swift.struct/builtinlidardepthcamera.md)
