getMaximumEyeGazeX method

int getMaximumEyeGazeX()

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

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

Implementation

int getMaximumEyeGazeX() {
  Pointer<Int> pMaximumEyeGazeX = calloc();
  try {
    var err = faceSDK.id3FacePortraitProcessor_GetMaximumEyeGazeX(_pHandle.value, pMaximumEyeGazeX);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vMaximumEyeGazeX = pMaximumEyeGazeX.value;
    return vMaximumEyeGazeX;
  } finally {
    calloc.free(pMaximumEyeGazeX);
  }
}