Skip to main content
←API Reference

displayOrientedTransform


Declaration​

func displayOrientedTransform(orientation: UIInterfaceOrientation) -> simd_float4x4

Summary​

Returns the camera pose in world space corresponding to the current frame, with its basis
vectors reoriented to match the specified UI interface orientation.

Returns​

A camera-to-world transform in world coordinates.

Parameters​

NameTypeSummary
orientationUIInterfaceOrientation
The current logical interface orientation of the app’s UI.