Version: 2020.3

Camera.FocalLengthToFieldOfView

マニュアルに切り替える
public static float FocalLengthToFieldOfView (float focalLength, float sensorSize);

パラメーター

focalLength Focal length in millimeters.
sensorSize Sensor size in millimeters. Use the sensor height to get the vertical field of view. Use the sensor width to get the horizontal field of view.

戻り値

float field of view in degrees.

説明

Converts focal length to field of view.