Tobii Pro SDK Unity API
|
Represents the three coordinates in space corresponding to the top left, bottom left, and top right corners of the active display area. More...
Public Member Functions | |
DisplayArea (Point3D topLeft, Point3D bottomLeft, Point3D topRight) | |
Initializes a new instance of the DisplayArea class given top left, bottom left, and top right coordinates. More... | |
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, set] |
Gets or sets the bottom left corner of the active display area. More... | |
Point3D | BottomRight [get] |
Gets the bottom right corner of the active display area. More... | |
float | Height [get] |
Gets the height in millimeters of the active display area. More... | |
Point3D | TopLeft [get, set] |
Gets or sets the top left corner of the active display area. More... | |
Point3D | TopRight [get, set] |
Gets or sets the top right corner of the active display area. More... | |
float | Width [get] |
Gets the width in millimeters of the active display area. More... | |
Represents the three coordinates in space corresponding to the top left, bottom left, and top right corners of the active display area.
|
inline |
Initializes a new instance of the DisplayArea class given top left, bottom left, and top right coordinates.
topLeft | The top left coordinate |
bottomLeft | The bottom left coordinate |
topRight | The top right coordinate |
|
inline |
Checks if this DisplayArea is equal to another DisplayArea .
other | Other DisplayArea to check. |
|
inline |
Checks if this DisplayArea is equal to another DisplayArea .
obj | Other DisplayArea to check. |
|
inline |
Returns a hash code for this object. This is used internally in collections.
|
inlinestatic |
Checks if two DisplayArea objects are not equal.
obj1 | First DisplayArea. |
obj2 | Second DisplayArea. |
|
inlinestatic |
Checks if two DisplayArea objects are equal.
obj1 | First DisplayArea. |
obj2 | Second DisplayArea. |
|
getset |
Gets or sets the bottom left corner of the active display area.
|
get |
Gets the bottom right corner of the active display area.
|
get |
Gets the height in millimeters of the active display area.
|
getset |
Gets or sets the top left corner of the active display area.
|
getset |
Gets or sets the top right corner of the active display area.
|
get |
Gets the width in millimeters of the active display area.