Class FilterEffectOptions

java.lang.Object
io.agora.rtc2.video.FilterEffectOptions

public class FilterEffectOptions extends Object
  • Field Details

    • path

      public String path
      The absolute path to the local cube map texture file, which can be used to customize the filter effect. The specified .cude file should strictly follow the Cube LUT Format Specification; otherwise, the filter options do not take effect. The following is a sample of the .cude file: ``` LUT_3D_SIZE 32 0.0039215689 0 0.0039215682 0.0086021447 0.0037950677 0 ... 0.0728652592 0.0039215689 0 ```
    • strength

      public float strength
      The intensity of the filter effect, with a range value of [0.0,1.0], in which 0.0 represents no filter effect. The default value is 0.5. The higher the value, the stronger the filter effect.
  • Constructor Details

    • FilterEffectOptions

      public FilterEffectOptions(String path, float strength)
    • FilterEffectOptions

      public FilterEffectOptions()