Options
All
  • Public
  • Public/Protected
  • All
Menu

Beauty configuration options.

Configure the parameters of skin peeling, whitening and sharpening

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

The sample step size of beauty peeling, the value range is [0,1], default 0.2

sharpenFactor

sharpenFactor: number

Beauty sharpening parameter, the larger the value, the stronger the sharpening, value range [0,1], default 0.1

whitenFactor

whitenFactor: number

Brightness parameter for beauty and whitening, the larger the value, the brighter the brightness, ranging from [0,1], default 0.5

Generated using TypeDoc