FLowlightEnhanceOptions
暗光增强选项。
C++
USTRUCT(BlueprintType)
struct FLowlightEnhanceOptions
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions")
ELOW_LIGHT_ENHANCE_MODE mode = ELOW_LIGHT_ENHANCE_MODE::LOW_LIGHT_ENHANCE_AUTO;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions")
ELOW_LIGHT_ENHANCE_LEVEL level = ELOW_LIGHT_ENHANCE_LEVEL::LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY;
FLowlightEnhanceOptions(){}
FLowlightEnhanceOptions(const agora::rtc::LowlightEnhanceOptions & AgoraData){
mode = static_cast<ELOW_LIGHT_ENHANCE_MODE>(AgoraData.mode);
level = static_cast<ELOW_LIGHT_ENHANCE_LEVEL>(AgoraData.level);
}
agora::rtc::LowlightEnhanceOptions CreateAgoraData() const {
agora::rtc::LowlightEnhanceOptions AgoraData;
AgoraData.mode = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_MODE>(mode);
AgoraData.level = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL>(level);
return AgoraData;
}
void FreeAgoraData(agora::rtc::LowlightEnhanceOptions& AgoraData) const {
}
};
level
暗光增强等级。详见 ELOW_LIGHT_ENHANCE_LEVEL。
mode
暗光增强模式。详见 ELOW_LIGHT_ENHANCE_MODE。