This version of Unity is unsupported.

Camera.VerticalToHorizontalFieldOfView

Switch to Manual

Declaration

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.