# ColorEnhanceOptions (/zh-CN/api-reference/rtc/unreal-cpp/class-colorenhanceoptions)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_colorenhanceoptions__prototype"></a>

```cpp
struct ColorEnhanceOptions {
    float strengthLevel;
    float skinProtectLevel;
  ColorEnhanceOptions(float stength, float skinProtect) : strengthLevel(stength), skinProtectLevel(skinProtect) {}
  ColorEnhanceOptions() : strengthLevel(0), skinProtectLevel(1) {}
};
```

<a id="class_colorenhanceoptions__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="strengthlevel"></a>
<Parameter name="strengthLevel">

色彩增强程度。取值范围为 [0.0,1.0]。`0.0` 表示不对视频进行色彩增强。取值越大，色彩增强的程度越大。默认值为 `0.5`。

</Parameter>
<a id="skinprotectlevel"></a>
<Parameter name="skinProtectLevel">

肤色保护程度。取值范围为 [0.0,1.0]。`0.0` 表示不对肤色进行保护。取值越大，肤色保护的程度越大。默认值为 `1.0`。

- 当色彩增强程度较大时，人像肤色会明显失真，你需要设置肤色保护程度；
- 肤色保护程度较大时，色彩增强效果会略微降低。

因此，为获取最佳的色彩增强效果，建议你动态调节 strengthLevel 和 skinProtectLevel 以实现最合适的效果。

</Parameter>
</ParameterList>
