Home Forums Unreal Engine 4 SDK dev What parameter can read left eye or right eye closed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #19012

    What parameter can read left eye or right eye closed? My device is the Tobii eye tracker 4C!

    Grant [Tobii]

    Hi @faker, thank you for your query. I am afraid that the only means by which the left and right eye data are separately exposed for the 4C is through the Tobii Pro SDK which requires the purchase of a special research licence to correctly operate.

    If you are interested in this, please contact the team as provided @ https://developer.tobii.com/license-agreement/

    Do let us know if you require any further information. Best Wishes.

    Hongbin Zou

    Maybe he just wanted to know if left eye or right eye IS CLOSED?
    The tobii_gaze_origin_callback_t can output those states from the tobii stream engine api which is not UE4 related, I think.

    Grant [Tobii]

    Hi @faker, if indeed all you want is the validity of left/right eye found, you could try this snipped from the c++ stream engine API.

    #include <tobii/tobii_streams.h>
    #include <stdio.h>
    #include <assert.h>
    void gaze_origin_callback( tobii_gaze_origin_t const* gaze_origin, void* user_data )
        if( gaze_origin->left_validity == TOBII_VALIDITY_VALID )
            printf( "Left Eye Found" );
        if( gaze_origin->right_validity == TOBII_VALIDITY_VALID )
            printf( "Right Eye Found );
        printf( "\n" );

    Try it out and let us know how you get on. Best wishes.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.