Instance Method

depthDataByConvertingToDepthDataType:

Returns a derivative depth data object by converting the depth data map to the specified data type.

Declaration

- (instancetype)depthDataByConvertingToDepthDataType:(OSType)depthDataType;

Parameters

depthDataType

The data type to convert to. This value must be one of the formats present in the availableDepthDataTypes array.

Return Value

A new, converted depth data object.

Discussion

This method raises an exception if you pass an invalid depthDataType value.

See Also

Transforming and Processing

- depthDataByApplyingExifOrientation:

Returns a derivative depth data object by mirroring or rotating it to the specified orientation.

availableDepthDataTypes

The list of depth data formats to which this depth data can be converted.

- depthDataByReplacingDepthDataMapWithPixelBuffer:error:

Returns a derivative depth data object by replacing the depth data map.