Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
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

enum agora::rtc::FaceShapeBeautyOptions::FACE_SHAPE_BEAUTY_STYLE

The facial enhancement style options.

Since
  v4.4.0

Enumerator
FACE_SHAPE_BEAUTY_STYLE_FEMALE | 0: (Default) Feminine style.
FACE_SHAPE_BEAUTY_STYLE_MALE | 1: Masculine style.
FACE_SHAPE_BEAUTY_STYLE_NATURAL | 2: The natural style beauty effect only makes minimal adjustments 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

Facial enhancement style options: `FACE_SHAPE_BEAUTY_STYLE`.

## ◆ styleIntensity

int agora::rtc::FaceShapeBeautyOptions::styleIntensity

The intensity of the facial enhancement style, with a value range oof [0.0,1.0]. The default value is 0.0, which means no face enhancement effect. The higher the value, the more obvious the facial enhancement effect.