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

Represents the three coordinates in space corresponding to the top left, bottom left, and top right corners of the active display area. More...

Inheritance diagram for Tobii.Research.DisplayArea:

Public Member Functions

bool Equals (DisplayArea other)
 Checks if this DisplayArea is equal to another DisplayArea . More...
 
override bool Equals (object obj)
 Checks if this DisplayArea is equal to another DisplayArea . 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== (DisplayArea obj1, DisplayArea obj2)
 Checks if two DisplayArea objects are equal. More...
 
static bool operator!= (DisplayArea obj1, DisplayArea obj2)
 Checks if two DisplayArea objects are not equal. More...
 

Properties

Point3D BottomLeft [get]
 Gets the bottom left corner of the active display area. More...
 
Point3D BottomRight [get]
 Gets the bottom left corner of the active display area. More...
 
float Height [get]
 Gets the height in millimeters of the active display area. More...
 
Point3D TopLeft [get]
 Gets the top left corner of the active display area. More...
 
Point3D TopRight [get]
 Gets the top right corner of the active display area. More...
 
float Width [get]
 Gets the width in millimeters of the active display area. More...
 

Detailed Description

Represents the three coordinates in space corresponding to the top left, bottom left, and top right corners of the active display area.

Member Function Documentation

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

Checks if this DisplayArea is equal to another DisplayArea .

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

Checks if this DisplayArea is equal to another DisplayArea .

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

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

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

Checks if two DisplayArea objects are not equal.

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

Checks if two DisplayArea objects are equal.

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

Property Documentation

Point3D Tobii.Research.DisplayArea.BottomLeft
get

Gets the bottom left corner of the active display area.

Point3D Tobii.Research.DisplayArea.BottomRight
get

Gets the bottom left corner of the active display area.

float Tobii.Research.DisplayArea.Height
get

Gets the height in millimeters of the active display area.

Point3D Tobii.Research.DisplayArea.TopLeft
get

Gets the top left corner of the active display area.

Point3D Tobii.Research.DisplayArea.TopRight
get

Gets the top right corner of the active display area.

float Tobii.Research.DisplayArea.Width
get

Gets the width in millimeters of the active display area.