# ARTrackedObjectExtensions

Extensions to AR Foundation's `ARTrackedObject` class.

## Summary

| ### Public static functions ||
|---|---|
| [GetExtents](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/ARTrackedObjectExtensions#getextents)`(this ARTrackedObject trackedObject)` | `Vector3` Gets the 3D extents of the object. |
| [GetObjectLabel](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/ARTrackedObjectExtensions#getobjectlabel)`(this ARTrackedObject trackedObject)` | [XRObjectLabel](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrobjectlabel) Gets the type of object that the system has identified. |

## Public static functions

### GetExtents

```c#
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

```c#
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. |