This struct defines an oriented rectangle. It is internally used for defining the oriented bounding box of two trackables More...
Public Member Functions | |
OrientedBoundingBox (Vector2 center, Vector2 halfExtents, float rotation) | |
Properties | |
Vector2 | Center [get] |
Get the center of the box More... | |
Vector2 | HalfExtents [get] |
Get half width and height of the box More... | |
float | Rotation [get] |
Get the counter clock wise rotation of the box in degrees with respect to the x axis More... | |
This struct defines an oriented rectangle. It is internally used for defining the oriented bounding box of two trackables
OrientedBoundingBox | ( | Vector2 | center, |
Vector2 | halfExtents, | ||
float | rotation | ||
) |
|
get |
Get the center of the box
|
get |
Get half width and height of the box
|
get |
Get the counter clock wise rotation of the box in degrees with respect to the x axis