Xcode 13.2 beta
I’ve got a post processing screen effect that needs to know the aspect ratio/FOV of the AR camera - it looks like it’s about 30 on my setup but I’m not sure if that is going to be consistent across devices etc. Is there some way for me to grab that from the ARSession/?
Thank you for posting on our Community Forums.
Have you tried getting the camera’s aspect ratio by calling its aspect property? Under the hood, the VR camera is still just a regular Unity Scene Camera with some scripts attached to it in order for the ARDK to work.
In this Unity Forums post it’s recommended that you use Camera.aspect or you can also divide the width of the screen by the height. https://forum.unity.com/threads/get-aspect-ratio.211255/
Sorry - actually I was getting mixed up - it’s the FOV that I need. (I will post a new question)
Thank you for your patience.
I do see that you already started a separate post for the FOV issue and it appears to have been resolved as well. I’ll close this thread but if any more issues arise, please feel free to submit a new topic.