Jump to content

How to call pupil_position_in_sensor_area for the following code?

Recommended Posts

Hello all

I am working on a research project where I am using code created by another person to simulate visual impairments. In order to make our display gaze contingent, we want to call single eye data in vector2 coordinates using pupil_position_in_sensor_area (replacing the current stationary vector2 coordinates). Does anybody know of any examples of this? I could only find the combined Vector3 gaze ray examples in the samples folder. The code snippet is attached below

//Eye positions in normalized screen coordinates. You need to update these values from your eye tracker.
        _leftEyePosition = new Vector2(0.5f, 0.5f);

        _rightEyePosition = new Vector2(0.5f, 0.5f);

Thanks in advance,



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...