Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PortraitProcessor.maximumEyeGazeX Property

Module: PortraitProcessor

Type: int

## Definition

Maximum value of the eye gaze alongside the X axis.

Hint

Default value is 10.

Python

    maximum_eye_gaze_x: int

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    int get maximumEyeGazeX => getMaximumEyeGazeX();
    set maximumEyeGazeX(int value) => setMaximumEyeGazeX(value);

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public int maximumEyeGazeX
    {
        get => GetmaximumEyeGazeX();
        set => SetmaximumEyeGazeX(ref value);
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public int getMaximumEyeGazeX() throws FaceException
    public void setMaximumEyeGazeX(int maximumEyeGazeX) throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var maximumEyeGazeX: Int
        get {
            return Int(try! getMaximumEyeGazeX())
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FacePortraitProcessor_GetMaximumEyeGazeX (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumEyeGazeX)
    int id3FacePortraitProcessor_SetMaximumEyeGazeX (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumEyeGazeX)

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.