Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::FaceShapeBeautyOptions Struct Reference

#include <AgoraBase.h>

Public Types

enum  FACE_SHAPE_BEAUTY_STYLE { FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0 , FACE_SHAPE_BEAUTY_STYLE_MALE = 1 , FACE_SHAPE_BEAUTY_STYLE_NATURAL = 2 }
 

Public Member Functions

 FaceShapeBeautyOptions (FACE_SHAPE_BEAUTY_STYLE shapeStyle, int styleIntensity)
 
 FaceShapeBeautyOptions ()
 

Public Attributes

FACE_SHAPE_BEAUTY_STYLE shapeStyle
 
int styleIntensity
 

Detailed Description

Since
v4.4.0

Member Enumeration Documentation

◆ FACE_SHAPE_BEAUTY_STYLE

The face shape beauty style options.

Since
v4.4.0
Enumerator
FACE_SHAPE_BEAUTY_STYLE_FEMALE 

(Default) Female face shape style.

FACE_SHAPE_BEAUTY_STYLE_MALE 

Male face shape style.

FACE_SHAPE_BEAUTY_STYLE_NATURAL 

A natural-looking face shape style that applies minimal modification to facial features.

Since
v4.6.0

Constructor & Destructor Documentation

◆ FaceShapeBeautyOptions() [1/2]

agora::rtc::FaceShapeBeautyOptions::FaceShapeBeautyOptions ( FACE_SHAPE_BEAUTY_STYLE shapeStyle,
int styleIntensity )
inline

◆ FaceShapeBeautyOptions() [2/2]

agora::rtc::FaceShapeBeautyOptions::FaceShapeBeautyOptions ( )
inline

Member Data Documentation

◆ shapeStyle

FACE_SHAPE_BEAUTY_STYLE agora::rtc::FaceShapeBeautyOptions::shapeStyle

The face shape style, See FACE_SHAPE_BEAUTY_STYLE.

◆ styleIntensity

int agora::rtc::FaceShapeBeautyOptions::styleIntensity

The intensity of the pinching effect applied to the specified facial style. The value ranges from 0 (original) to 100. The default value is 0. The greater the value, the stronger the intensity applied to face pinching.