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

Provides properties for the HMD gaze direction. More...

Inheritance diagram for Tobii.Research.HMDGazeDirection:

Public Member Functions

 HMDGazeDirection (NormalizedPoint3D unitVector, Validity validity)
 Initializes a new instance of the HMDGazeDirection class given data for all members. More...
 
bool Equals (HMDGazeDirection other)
 Checks if this object is equal to another HMDGazeDirection . More...
 
override bool Equals (object obj)
 Checks if this point is equal to another HMDGazeDirection . 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== (HMDGazeDirection obj1, HMDGazeDirection obj2)
 Checks if two HMDGazeDirection objects are equal. More...
 
static bool operator!= (HMDGazeDirection obj1, HMDGazeDirection obj2)
 Checks if two HMDGazeDirection objects are not equal. More...
 

Properties

NormalizedPoint3D UnitVector [get]
 Gets the 3D unit vector that describes the gaze direction. More...
 
Validity Validity [get]
 Gets the validity of the gaze direction data. More...
 

Detailed Description

Provides properties for the HMD gaze direction.

Constructor & Destructor Documentation

Tobii.Research.HMDGazeDirection.HMDGazeDirection ( NormalizedPoint3D  unitVector,
Validity  validity 
)
inline

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

Parameters
unitVectorThe the 3D unit vector that describes the gaze direction.
validityThe validity of the gaze direction data.

Member Function Documentation

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

Checks if this object is equal to another HMDGazeDirection .

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

Checks if this point is equal to another HMDGazeDirection .

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

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

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

Checks if two HMDGazeDirection objects are not equal.

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

Checks if two HMDGazeDirection objects are equal.

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

Property Documentation

NormalizedPoint3D Tobii.Research.HMDGazeDirection.UnitVector
get

Gets the 3D unit vector that describes the gaze direction.

Validity Tobii.Research.HMDGazeDirection.Validity
get

Gets the validity of the gaze direction data.