converting(toDepthDataType:)
Returns a derivative depth data object by converting the depth data map to the specified data type.
Declaration
func converting(toDepthDataType depthDataType: OSType) -> SelfParameters
- depthDataType:
The data type to convert to. This value must be one of the formats present in the Availabledepthdatatypes 472g0 array.
Return Value
A new, converted depth data object.
Discussion
This method raises an exception if you pass an invalid depthDataType value.