public static double FovH2V(double H, double AR) { return Mathf.Rad2Deg * 2 * System.Math.Atan(System.Math.Tan(Mathf.Deg2Rad * H * 0.5) / AR); } public static double FovV2H(double V, double AR) { return Mathf.Rad2Deg * 2 * System.Math.Atan(System.Math.Tan(Mathf.Deg2Rad * V * 0.5) * AR); } double aspectRatio = 1920.0 / 1080.0; // VerticalFov by Default double hFov = FovV2H(m_MainCamera.fieldOfView, aspectRatio);