UnitySwiftKotlin←API Reference Return to API Reference index←packageNSDK NSDK←classPlaybackCamera PlaybackCamera Method viewMatrix viewMatrixReturns the view matrix (world-to-camera) for the given interface orientation.... Declaration func viewMatrix(for orientation: UIInterfaceOrientation) -> simd_float4x4 Summary Returns the view matrix (world-to-camera) for the given interface orientation. Implemented as the inverse of the display-oriented transform so rendering matches the on-screen camera.
Returns the view matrix (world-to-camera) for the given interface orientation.
Implemented as the inverse of the display-oriented transform so rendering matches the on-screen camera.