Tobii Pro SDK Unity API
|
Represents an x-, y- and z-coordinate point in a three-dimensional space. More...
Public Member Functions | |
Point3D (float x, float y, float z) | |
Initializes a new instance of the Point3D class given an x, y and z coordinate. More... | |
bool | Equals (Point3D other) |
Checks if this point is equal to another Point3D . More... | |
override bool | Equals (object obj) |
Checks if this point is equal to another Point3D . 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== (Point3D obj1, Point3D obj2) |
Checks if two Point3D objects are equal. More... | |
static bool | operator!= (Point3D obj1, Point3D obj2) |
Checks if two Point3D objects are not equal. More... | |
Properties | |
float | X [get] |
Gets the position of the point in the X axis. More... | |
float | Y [get] |
Gets the position of the point in the Y axis. More... | |
float | Z [get] |
Gets the position of the point in the Z axis. More... | |
Represents an x-, y- and z-coordinate point in a three-dimensional space.
|
inline |
Initializes a new instance of the Point3D class given an x, y and z coordinate.
x | The x coordinate |
y | The y coordinate |
z | The Z coordinate |
|
inline |
Checks if this point is equal to another Point3D .
other | Other point to check. |
|
inline |
Checks if this point is equal to another Point3D .
obj | Other point to check. |
|
inline |
Returns a hash code for this object. This is used internally in collections.
Checks if two Point3D objects are not equal.
obj1 | First point. |
obj2 | Second point. |
Checks if two Point3D objects are equal.
obj1 | First point. |
obj2 | Second point. |
|
get |
Gets the position of the point in the X axis.
|
get |
Gets the position of the point in the Y axis.
|
get |
Gets the position of the point in the Z axis.