In order to set a custom display size we call displayTransform to get the display matrix and projectionMatrix for the camera projection matrix for a specific viewport size.
The issue we're having now is mapping the matrices from swift to those used in unity in ARCameraFrameEventArgs.
The documentation on these matrices is limited and our current solution is to solve this mapping in a very manual way.
If a member of the unity team could please post the swift code here that handles this conversion we would be extremely grateful.
Thanks in advance.