FBeautyOptions
Image enhancement options.
USTRUCT(BlueprintType)
struct FBeautyOptions
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions")
ELIGHTENING_CONTRAST_LEVEL lighteningContrastLevel = ELIGHTENING_CONTRAST_LEVEL::LIGHTENING_CONTRAST_NORMAL;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions")
float lighteningLevel = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions")
float smoothnessLevel = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions")
float rednessLevel = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions")
float sharpnessLevel = 0;
FBeautyOptions(){}
FBeautyOptions(const agora::rtc::BeautyOptions & AgoraData){
lighteningContrastLevel = static_cast<ELIGHTENING_CONTRAST_LEVEL>(AgoraData.lighteningContrastLevel);
lighteningLevel = AgoraData.lighteningLevel;
smoothnessLevel = AgoraData.smoothnessLevel;
rednessLevel = AgoraData.rednessLevel;
sharpnessLevel = AgoraData.sharpnessLevel;
}
agora::rtc::BeautyOptions CreateAgoraData() const {
agora::rtc::BeautyOptions AgoraData;
AgoraData.lighteningContrastLevel = static_cast<agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_LEVEL>(lighteningContrastLevel);
AgoraData.lighteningLevel = lighteningLevel;
AgoraData.smoothnessLevel = smoothnessLevel;
AgoraData.rednessLevel = rednessLevel;
AgoraData.sharpnessLevel = sharpnessLevel;
return AgoraData;
}
void FreeAgoraData(agora::rtc::BeautyOptions& AgoraData) const {
}
};
Attributes
- lighteningContrastLevel
-
The contrast level, used with the lighteningLevel parameter. The larger the value, the greater the contrast between light and dark. See ELIGHTENING_CONTRAST_LEVEL.
- lighteningLevel
-
The brightening level, in the range [0.0,1.0], where 0.0 means the original brightening. The default value is 0.0. The higher the value, the greater the degree of brightening.
- smoothnessLevel
-
The smoothness level, in the range [0.0,1.0], where 0.0 means the original smoothness. The default value is 0.0. The greater the value, the greater the smoothness level.
- rednessLevel
-
The redness level, in the range [0.0,1.0], where 0.0 means the original redness. The default value is 0.0. The larger the value, the greater the redness level.
- sharpnessLevel
-
The sharpness level, in the range [0.0,1.0], where 0.0 means the original sharpness. The default value is 0.0. The larger the value, the greater the sharpness level.