As per title, how is camera.aspect value computed? (where camera is of type Camera, of course)
I’m using an orthographic camera and I’ve tried computing the following two expressions:
(float)Screen.width / Screen.height
(float)Camera.main.pixelWidth / Camera.main.pixelHeight
But both those values are different from camera.aspect.
Edit: I know camera.ResetAspect can be called to re-compute camera.aspect, I’m interested in finding out how.