Options
All
  • Public
  • Public/Protected
  • All
Menu

美颜配置选项

配置美颜的磨皮、美白、锐化参数

Hierarchy

  • ZegoBeautifyOption

Index

Constructors

constructor

  • new ZegoBeautifyOption(polishStep: number, whitenFactor: number, sharpenFactor: number): ZegoBeautifyOption
  • Parameters

    • polishStep: number
    • whitenFactor: number
    • sharpenFactor: number

    Returns ZegoBeautifyOption

Properties

polishStep

polishStep: number

美颜磨皮的采样步长,取值范围[0,1],默认 0.2

sharpenFactor

sharpenFactor: number

美颜锐化参数,值越大锐化越强,取值范围[0,1],默认 0.1

whitenFactor

whitenFactor: number

美颜美白的亮度参数,值越大亮度越亮,取值范围[0,1],默认 0.5

Generated using TypeDoc