setMaximumEyeGazeX method

void setMaximumEyeGazeX(
  1. int maximumEyeGazeX
)

Sets the maximum value of the eye gaze alongside the X axis. Hint: Default value is 10.

param maximumEyeGazeX Maximum value of the eye gaze alongside the X axis. throws FaceException An error has occurred during Face Library execution.

Implementation

void setMaximumEyeGazeX(int maximumEyeGazeX) {
  var err = faceSDK.id3FacePortraitProcessor_SetMaximumEyeGazeX(_pHandle.value, maximumEyeGazeX);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}