FBeautyOptions
- Unreal Blueprint
更新时间不可用
美颜选项。
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 {
}
};属性
| 参数名 | 描述 |
|---|---|
lighteningContrastLevel | 对比度,常与 lighteningLevel 搭配使用。取值越大,明暗对比程度越大。详见 ELIGHTENING_CONTRAST_LEVEL。 |
lighteningLevel | |
smoothnessLevel | |
rednessLevel | |
sharpnessLevel |