FFocalLengthInfo
Focal length information supported by the camera, including the camera direction and focal length type.
USTRUCT(BlueprintType) struct FFocalLengthInfo { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FFocalLengthInfo") int cameraDirection = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FFocalLengthInfo") ECAMERA_FOCAL_LENGTH_TYPE focalLengthType = ECAMERA_FOCAL_LENGTH_TYPE::CAMERA_FOCAL_LENGTH_DEFAULT; FFocalLengthInfo(){} FFocalLengthInfo(const agora::rtc::FocalLengthInfo & AgoraData){ cameraDirection = AgoraData.cameraDirection; focalLengthType = static_cast<ECAMERA_FOCAL_LENGTH_TYPE>(AgoraData.focalLengthType); } agora::rtc::FocalLengthInfo CreateAgoraData() const { agora::rtc::FocalLengthInfo AgoraData; AgoraData.cameraDirection = cameraDirection; AgoraData.focalLengthType = static_cast<agora::rtc::CAMERA_FOCAL_LENGTH_TYPE>(focalLengthType); return AgoraData; } void FreeAgoraData(agora::rtc::FocalLengthInfo& AgoraData) const { } };
Attention: This enumeration class applies to Android and iOS only.
Parameters
- cameraDirection
- The camera direction. See ECAMERA_DIRECTION.
- focalLengthType
- The focal length type. See ECAMERA_FOCAL_LENGTH_TYPE.