This version of Unity is unsupported.

Camera.HorizontalToVerticalFieldOfView

Switch to Manual

Declaration

public static float HorizontalToVerticalFieldOfView(float horizontalFieldOfView, float aspectRatio);

Parameters

horizontalFOV The horizontal FOV value in degrees.
aspectRatio The 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.