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.