rotate

abstract fun rotate(orientation: CameraOrientation, isMirrored: Boolean): Depth

Returns a new Depth frame, rotated to the given orientation and optionally mirrored. The result must be disposed too. This runs synchronously, on the calling thread.