Instance Property

embedsDepthDataInPhoto

A Boolean value that determines whether any depth data captured with the photo is included when generating output file data.

Declaration

@property(nonatomic) BOOL embedsDepthDataInPhoto;

Discussion

When this property is YES (the default), and depth data capture is enabled with the depthDataDeliveryEnabled property, the AVCapturePhoto class includes the depth map as an embedded attachment when you flatten the photo data for output in compatible file formats.

Set this property to NO if you wish to capture depth data with a photo but not include depth data in output.

See Also

Capturing Depth Data

depthDataDeliveryEnabled

A Boolean value that determines whether the photo output captures depth data along with the photo.

depthDataFiltered

A Boolean value that determines whether to smooth noise and fill in missing values in depth data output.