# FilterEffectOptions (/zh-CN/api-reference/rtc/android/class-filtereffectoptions)

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

<a id="class_filtereffectoptions__prototype"></a>

```java
public class FilterEffectOptions {
  public String path = null;
  public float strength;
}
```

<a id="class_filtereffectoptions__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="path"></a>
<Parameter name="path">

本地立方体贴图纹理文件的绝对路径，可用于自定义滤镜特效。指定的 .cube 文件需严格遵循 Cube LUT 格式规范，否则滤镜参数不生效。

:::note
注：

- `.cube` 文件第一行的标识符 `LUT_3D_SIZE` 表示三维查找表的尺寸，滤镜特效的 LUT 大小只能设置为 32。
- 声网 SDK 提供内置的 `built_in_whiten_filter.cube` 文件，你可以传入该文件的绝对路径以使用美白滤镜效果。
:::

</Parameter>
<a id="strength"></a>
<Parameter name="strength">

滤镜特效的强度，取值范围为 [0.0, 1.0]。0.0 表示无滤镜效果，默认值为 0.5。值越大，滤镜效果越强。

</Parameter>
</ParameterList>
