Camera.HorizontalToVerticalFieldOfView

Switch to Manual
public static float HorizontalToVerticalFieldOfView (float horizontalFieldOfView, float aspectRatio);

Parameters

horizontalFOVThe horizontal FOV value in degrees.
aspectRatioThe aspect ratio value used for the conversion

Description

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