Agora C++ API Reference for All Platforms
|
Public Types | |
enum | FACE_SHAPE_AREA { FACE_SHAPE_AREA_NONE = -1, FACE_SHAPE_AREA_HEADSCALE = 0, FACE_SHAPE_AREA_FOREHEAD = 1, FACE_SHAPE_AREA_FACECONTOUR = 2, FACE_SHAPE_AREA_FACELENGTH = 3, FACE_SHAPE_AREA_FACEWIDTH = 4, FACE_SHAPE_AREA_CHEEKBONE = 5, FACE_SHAPE_AREA_CHEEK = 6, FACE_SHAPE_AREA_CHIN = 7, FACE_SHAPE_AREA_EYESCALE = 8, FACE_SHAPE_AREA_NOSELENGTH = 9, FACE_SHAPE_AREA_NOSEWIDTH = 10, FACE_SHAPE_AREA_MOUTHSCALE = 11 } |
Public Member Functions | |
FaceShapeAreaOptions (FACE_SHAPE_AREA shapeArea, int areaIntensity) | |
FaceShapeAreaOptions () | |
Public Attributes | |
FACE_SHAPE_AREA | shapeArea |
int | shapeIntensity |
Face shape area options. This structure defines options for facial adjustments on different facial areas.
@technical preview
The specific facial area to be adjusted.
|
inline |
|
inline |
FACE_SHAPE_AREA agora::rtc::FaceShapeAreaOptions::shapeArea |
The specific facial area to be adjusted, See FACE_SHAPE_AREA.
int agora::rtc::FaceShapeAreaOptions::shapeIntensity |
The intensity of the pinching effect applied to the specified facial area. For the following area values: FACE_SHAPE_AREA_FOREHEAD, FACE_SHAPE_AREA_FACELENGTH, FACE_SHAPE_AREA_CHIN, FACE_SHAPE_AREA_NOSELENGTH, FACE_SHAPE_AREA_NOSEWIDTH, FACE_SHAPE_AREA_MOUTHSCALE, the value ranges from -100 to 100. The default value is 0. The greater the absolute value, the stronger the intensity applied to the specified facial area, and negative values indicate the opposite direction. For enumeration values other than the above, the value ranges from 0 to 100. The default value is 0. The greater the value, the stronger the intensity applied to the specified facial area.