Tobii Pro SDK Unity API
Tobii.Research.EyeData Class Reference

Provides properties for the eye data. More...

Inheritance diagram for Tobii.Research.EyeData:

Public Member Functions

 EyeData (GazePoint gazePoint, PupilData pupil, GazeOrigin gazeOrigin)
 Initializes a new instance of the EyeData class given data for all members. More...
 
bool Equals (EyeData other)
 Checks if this object is equal to another EyeData . More...
 
override bool Equals (object obj)
 Checks if this point is equal to another EyeData . More...
 
override int GetHashCode ()
 Returns a hash code for this object. This is used internally in collections. More...
 

Static Public Member Functions

static bool operator== (EyeData obj1, EyeData obj2)
 Checks if two EyeData objects are equal. More...
 
static bool operator!= (EyeData obj1, EyeData obj2)
 Checks if two EyeData objects are not equal. More...
 

Properties

GazePoint GazePoint [get]
 Gets the gaze point data. More...
 
PupilData Pupil [get]
 Gets the pupil data. More...
 
GazeOrigin GazeOrigin [get]
 Gets the gaze origin data. More...
 

Detailed Description

Provides properties for the eye data.

Constructor & Destructor Documentation

Tobii.Research.EyeData.EyeData ( GazePoint  gazePoint,
PupilData  pupil,
GazeOrigin  gazeOrigin 
)
inline

Initializes a new instance of the EyeData class given data for all members.

Parameters
gazePointThe gaze point data.
pupilThe pupil data.
gazeOriginA gaze origin data.

Member Function Documentation

bool Tobii.Research.EyeData.Equals ( EyeData  other)
inline

Checks if this object is equal to another EyeData .

Parameters
otherOther object to check.
Returns
True if other equals this.
override bool Tobii.Research.EyeData.Equals ( object  obj)
inline

Checks if this point is equal to another EyeData .

Parameters
objOther object to check.
Returns
True if obj equals this.
override int Tobii.Research.EyeData.GetHashCode ( )
inline

Returns a hash code for this object. This is used internally in collections.

Returns
A hash code.
static bool Tobii.Research.EyeData.operator!= ( EyeData  obj1,
EyeData  obj2 
)
inlinestatic

Checks if two EyeData objects are not equal.

Parameters
obj1First object.
obj2Second object.
Returns
True if the objects are not equal.
static bool Tobii.Research.EyeData.operator== ( EyeData  obj1,
EyeData  obj2 
)
inlinestatic

Checks if two EyeData objects are equal.

Parameters
obj1First object.
obj2Second object.
Returns
True if the objects are equal.

Property Documentation

GazeOrigin Tobii.Research.EyeData.GazeOrigin
get

Gets the gaze origin data.

GazePoint Tobii.Research.EyeData.GazePoint
get

Gets the gaze point data.

PupilData Tobii.Research.EyeData.Pupil
get

Gets the pupil data.