displayOrientedTransform
Declaration
func displayOrientedTransform(orientation: UIInterfaceOrientation) -> simd_float4x4
Summary
Parameters
| Name | Type | Summary |
|---|---|---|
| orientation | UIInterfaceOrientation | - |
| Name | Type | Summary |
|---|---|---|
| orientation | UIInterfaceOrientation | - |
Returns the camera transform adjusted for the given display orientation (Z-axis rotation applied).
Use when you need the camera pose in the same coordinate frame as the on-screen image (e.g. for overlay alignment).