Home Forums Unity SDK TobiiXR Core Data Reply To: TobiiXR Core Data

#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.