# FocalLengthInfo (/zh-CN/api-reference/rtc/unity/class-focallengthinfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```csharp
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()
{
}
}
```
:::note
注: 仅适用于 Android 和 iOS。
:::
## 属性 [#属性]
摄像头方向。详见 [CAMERA_DIRECTION](/zh-CN/api-reference/rtc/unity/enum-cameradirection)。
焦距类型。详见 [CAMERA_FOCAL_LENGTH_TYPE](/zh-CN/api-reference/rtc/unity/enum-camerafocallengthtype)。