Returns a derivative depth data object by mirroring or rotating it to the specified orientation.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
The image orientation to apply to the depth data map.
A new, transformed depth data object.
When applying simple 90-degree rotation or mirroring edits to media containing depth data, you may use this method to create a derivative copy of the depth in which the specified orientation is applied to both the underlying pixel map data and the camera calibration data. This method throws an exception if you pass an unrecognized
A depth data object does not contain orientation metadata; this method assumes the data is in the default
k orientation and applies the transformation necessary to produce the orientation you specify.