Camera.VerticalToHorizontalFieldOfView

Switch to Manual
public static float VerticalToHorizontalFieldOfView(float verticalFieldOfView, float aspectRatio);

Parameters

verticalFieldOfView The vertical FOV value in degrees.
aspectRatio The aspect ratio value used for the conversion

Description

Converts the vertical field of view (FOV) to the horizontal FOV, based on the value of the aspect ratio parameter.

Did you find this page useful? Please give it a rating: