FocalLengthInfo

  • Unity

更新时间不可用

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

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()
        {
        }

    }

注: 仅适用于 Android 和 iOS。

属性

参数名描述
cameraDirection

摄像头方向。详见 CAMERA_DIRECTION。

focalLengthType

焦距类型。详见 CAMERA_FOCAL_LENGTH_TYPE。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?