C++ Java Unity
Unity Reference
OrientedBoundingBox3D Struct Reference

This struct defines a 3D box oriented around the Y axis. It is internally used for defining the oriented bounding box of two trackables More...

Public Member Functions

 OrientedBoundingBox3D (Vector3 center, Vector3 halfExtents, float rotationY)
 

Properties

Vector3 Center [get]
 Get the center of the box More...
 
Vector3 HalfExtents [get]
 Get half width and height of the box More...
 
float RotationY [get]
 Get the counter clock wise rotation of the box in degrees with respect to the x axis More...
 

Detailed Description

This struct defines a 3D box oriented around the Y axis. It is internally used for defining the oriented bounding box of two trackables

Constructor & Destructor Documentation

OrientedBoundingBox3D ( Vector3  center,
Vector3  halfExtents,
float  rotationY 
)

Property Documentation

Vector3 Center
get

Get the center of the box

Vector3 HalfExtents
get

Get half width and height of the box

float RotationY
get

Get the counter clock wise rotation of the box in degrees with respect to the x axis