UnitySwiftKotlin←API Reference Return to API Reference index←packageNSDK NSDK←classPlaybackCamera PlaybackCamera Method displayOrientedTransform displayOrientedTransformReturns the camera transform with a Z-axis rotation applied so it matches the given screen orientation.... Declaration func displayOrientedTransform(orientation: UIInterfaceOrientation) -> simd_float4x4 Summary Returns the camera transform with a Z-axis rotation applied so it matches the given screen orientation. Sensor frame is landscape-right; portrait adds π/2, portrait-upside-down adds -π/2, landscape-left adds π.
Returns the camera transform with a Z-axis rotation applied so it matches the given screen orientation.
Sensor frame is landscape-right; portrait adds π/2, portrait-upside-down adds -π/2, landscape-left adds π.