AVDepthData.ReplaceDepthDataMap(CVPixelBuffer, NSError) Method

Definition

Returns a new depth data map with the data in pixelBuffer.

[Foundation.Export("depthDataByReplacingDepthDataMapWithPixelBuffer:error:")]
public virtual AVFoundation.AVDepthData ReplaceDepthDataMap (CoreVideo.CVPixelBuffer pixelBuffer, out Foundation.NSError outError);
abstract member ReplaceDepthDataMap : CoreVideo.CVPixelBuffer *  -> AVFoundation.AVDepthData
override this.ReplaceDepthDataMap : CoreVideo.CVPixelBuffer *  -> AVFoundation.AVDepthData

Parameters

pixelBuffer
CVPixelBuffer

The new depth data.

outError
NSError

The error that occurred, if present. May be null.

This parameter can be null.

Returns

Attributes

Applies to