FocalLengthInfo

  • C#

更新时间

摄像头支持的焦距信息,包含摄像头的方向以及焦距类型。

C#
public class FocalLengthInfo
    {
        public int cameraDirection;
        public CAMERA_FOCAL_LENGTH_TYPE focalLengthType;

        public FocalLengthInfo(int cameraDirection, CAMERA_FOCAL_LENGTH_TYPE focalLengthType)
        {
            this.cameraDirection = cameraDirection;
            this.focalLengthType = focalLengthType;
        }
        public FocalLengthInfo()
        {
        }

    }

参数

cameraDirection

摄像头方向。详见 CAMERA_DIRECTION。

focalLengthType

焦距类型。详见 CAMERA_FOCAL_LENGTH_TYPE。

这个页面有帮助吗?