Support Forum G3D Web Page |
Public Attributes | |
Ray | headSpaceRay |
For getTrackedGaze(), this is always valid and stable, even during blink. More... | |
bool | inBlink = false |
Is this eye blinking (pupil not visible and ray is simulated) More... | |
bool | inSaccade = false |
Is the user in a saccade? (Jump between positions) More... | |
float | pupilSize = 0.004f |
Dilation of the pupil. More... | |
Ray G3D::GazeTracker::Gaze::headSpaceRay |
For getTrackedGaze(), this is always valid and stable, even during blink.
ray.origin is the center of the pupil.
ray.direction is the visual axis of the eye, which is the center of the fovea and attention for a normal eye.
For a HMD, this is in the "XR Head" frame. For a desktop gaze tracker, it is relative to the active camera.
bool G3D::GazeTracker::Gaze::inBlink = false |
Is this eye blinking (pupil not visible and ray is simulated)
bool G3D::GazeTracker::Gaze::inSaccade = false |
Is the user in a saccade? (Jump between positions)
float G3D::GazeTracker::Gaze::pupilSize = 0.004f |
Dilation of the pupil.
Some trackers never update this. Default is 4mm.