.. index:: 
  !Portrait.eyeGaze Property

.. _id3_face_portrait_eye_gaze_class_member:

===============================================================================
Portrait.eyeGaze Property
===============================================================================

Module: :ref:`Portrait<id3_face_portrait_class>`

Type: :ref:`EyeGaze<id3_face_eye_gaze_struct>`

Definition
----------

Estimated gaze.


.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code:: Python

      eye_gaze: EyeGaze


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Dart
    :sync: Dart

    .. code:: Dart

      EyeGaze get eyeGaze => getEyeGaze();


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: C#
    :sync: C#

    .. code:: C#

      public EyeGaze eyeGaze
      {
          get => GeteyeGaze();
      }


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Java
    :sync: Java

    .. code:: Java

      public EyeGaze getEyeGaze() throws FaceException


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: Swift
    :sync: Swift

    .. code:: Swift

      public var eyeGaze: EyeGaze
          get {
              return try! getEyeGaze()
          }
      }


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

  .. tab-item:: C
    :sync: C

    .. code:: C

      int id3FacePortrait_GetEyeGaze (ID3_FACE_PORTRAIT hPortrait, id3FaceEyeGaze * sEyeGaze)

    **Returns**
   
      .. line-block::

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

