This version of Unity is unsupported.

CameraEditorUtils.GetFrustumAspectRatio

public static float GetFrustumAspectRatio(Camera camera);

Parameters

cameraCamera to use.

Returns

float The frustrum aspect ratio of the provided camera.

Description

Calculate the frustrum aspect ratio of a camera.