文档中心
全部产品
API 参考
Agora C++ API Reference for All Platforms
Agora C++ API Reference for All Platforms
◆ LIGHTENING_CONTRAST_LEVEL
亮度明暗对比度。
枚举值 |
---|
LIGHTENING_CONTRAST_LOW | 低对比度。
|
LIGHTENING_CONTRAST_NORMAL | 正常对比度。
|
LIGHTENING_CONTRAST_HIGH | 高对比度。
|
◆ BeautyOptions() [1/2]
agora::rtc::BeautyOptions::BeautyOptions |
( |
LIGHTENING_CONTRAST_LEVEL |
contrastLevel, |
|
|
float |
lightening, |
|
|
float |
smoothness, |
|
|
float |
redness |
|
) |
| |
|
inline |
◆ BeautyOptions() [2/2]
agora::rtc::BeautyOptions::BeautyOptions |
( |
| ) |
|
|
inline |
◆ lighteningContrastLevel
◆ lighteningLevel
float agora::rtc::BeautyOptions::lighteningLevel |
亮度,取值范围为 [0.0, 1.0],其中 0.0 表示原始亮度。可用来实现美白等视觉效果。
◆ smoothnessLevel
float agora::rtc::BeautyOptions::smoothnessLevel |
平滑度,取值范围为 [0.0, 1.0],其中 0.0 表示原始平滑等级。可用来实现祛痘、磨皮等视觉效果。
◆ rednessLevel
float agora::rtc::BeautyOptions::rednessLevel |
红色度,取值范围为 [0.0, 1.0],其中 0.0 表示原始红色度。可用来实现红润肤色等视觉效果。