- This topic has 1 reply, 2 voices, and was last updated 3 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Tagged: Extract Data, Tobii.XR, Unity
Hi everyone,
I’m using HTC Vive Pro Eye to create gaza-contingent simulation in Unity in MR using passthrough cameras.
I’m usign Tobii XTR Core Data, namely TobiiXR_TrackingSpace.Localto get data non affected from user’s head movements. The GazeRay allows to print the direction of the Gaze. But in particular, what kind of data are Gaze Ray Direction? Are Unity coordinates? And basically they concern the rotation of the eyes?
Thank you kinly,
Mattia
Hi @mattbarb, we define the Gaze Ray according the specification we lay out @
https://vr.tobii.com/sdk/develop/unity/documentation/api-reference/core/
Definition of TobiiXR_GazeRay:
NAME TYPE DESCRIPTION
Origin Vector3 The origin point of the gaze ray.
Direction Vector3 The normalized direction vector for the direction of the gaze ray.
IsValid bool The validity of the TobiiXR_GazeRay. Do not use Origin or Direction of this data if this is false.
So they are normalised (0,1) directions that represent the angle (or “rotation”) of the eye from a centre angle.