Home Forums Unity SDK TobiiXR Core Data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21091
    Mattia
    Participant

    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

    #21124
    Grant [Tobii]
    Keymaster

    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.

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