logo
On this page

ZegoBeautifyOption

ZegoBeautifyOption

Beauty configuration options.

Details

Configure the parameters of skin peeling, whitening and sharpening

Declared in ZegoExpressDefines.h

Properties

polishStep

polishStep
nonatomic, assign double polishStep

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

whitenFactor

whitenFactor
nonatomic, assign double whitenFactor

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

sharpenFactor

sharpenFactor
nonatomic, assign double sharpenFactor

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

Methods

defaultConfig

defaultConfig
- (void)+ (instancetype)defaultConfig;
Create a default beauty parameter object
Declared in ZegoExpressDefines.h

ZegoBeautifyOption instance

Previous

zegobarragemessageinfo

Next

zegoblurinfo

On this page

Back to top