ARTrackedObjectExtensions

Extensions to AR Foundation's ARTrackedObject class.

Summary

Public static functions

GetExtents(this ARTrackedObject trackedObject)
Vector3
Gets the 3D extents of the object.
GetObjectLabel(this ARTrackedObject trackedObject)
Gets the type of object that the system has identified.

Public static functions

GetExtents

Vector3 GetExtents(
  this ARTrackedObject trackedObject
)

Gets the 3D extents of the object.

Details
Parameters
trackedObject
The tracked object.
Returns
The 3D extents of the object.

GetObjectLabel

XRObjectLabel GetObjectLabel(
  this ARTrackedObject trackedObject
)

Gets the type of object that the system has identified.

Details
Parameters
trackedObject
The tracked object.
Returns
The object label identified by the system.