# FocalLengthInfo (/zh-CN/api-reference/rtc/unreal-cpp/class-focallengthinfo)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_focallengthinfo__prototype"></a>

```cpp
struct FocalLengthInfo {
  int cameraDirection;
  CAMERA_FOCAL_LENGTH_TYPE focalLengthType;
};
```

<a id="class_focallengthinfo__detailed_desc"></a>

### 详情 [#详情]

:::caution
注意： 仅适用于 Android 和 iOS。
:::

<a id="class_focallengthinfo__parameters"></a>

## 参数 [#参数]

<ParameterList>
<a id="cameradirection"></a>
<Parameter name="cameraDirection">

摄像头方向。详见 [CAMERA_DIRECTION](/zh-CN/api-reference/rtc/unreal-cpp/enum-cameradirection)。

</Parameter>
<a id="focallengthtype"></a>
<Parameter name="focalLengthType">

焦距类型。详见 [CAMERA_FOCAL_LENGTH_TYPE](/zh-CN/api-reference/rtc/unreal-cpp/enum-camerafocallengthtype)。

</Parameter>
</ParameterList>
