FocalLengthInfo
- Unity
更新时间不可用
摄像头支持的焦距信息,包含摄像头的方向以及焦距类型。
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。 |