Agora RTC Objective-C API Reference  Refactor
Properties
AgoraFaceShapeAreaOptions Class Reference

Inherits <NSObject>.

Properties

AgoraFaceShapeArea shapeArea
 
int shapeIntensity
 

Detailed Description

Face shape area options in [setFaceShapeAreaOptions]([AgoraRtcEngineKit setFaceShapeAreaOptions:]).

This structure defines options for facial adjustments on different facial areas.

Property Documentation

◆ shapeArea

- (AgoraFaceShapeArea) shapeArea
readwritenonatomicassign

The specific facial area to be adjusted.

[AgoraFaceShapeArea](AgoraFaceShapeArea), used with the shapeIntensity property:

  • -1: (Default) Inavlid area.
  • 0: Head Scale.
  • 1: Forehead.
  • 2: Face Contour.
  • 3: Face Length.
  • 4: Face Width.
  • 5: Cheekbone.
  • 6: Cheek.
  • 7: Chin.
  • 8: Eye Scale.
  • 9: Nose Length.
  • 10: Nose Width.
  • 11: Mouth Scale.

◆ shapeIntensity

- (int) shapeIntensity
readwritenonatomicassign

The intensity of the pinching effect applied to the specified facial area.

For the following area values: AgoraFaceShapeAreaForehead, AgoraFaceShapeAreaFaceLength, AgoraFaceShapeAreaChin, AgoraFaceShapeAreaNoseLength, AgoraFaceShapeAreaNoseWidth, AgoraFaceShapeAreaMouthScale, 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.