Version: 2022.2
言語: 日本語

Camera.FieldOfViewToFocalLength

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

パラメーター

fieldOfView field of view in degrees.
sensorSize Sensor size in millimeters.

戻り値

float Focal length in millimeters.

説明

Converts field of view to focal length. Use either sensor height and vertical field of view or sensor width and horizontal field of view.