# TestAugmentedObject

Artifact: [androidx.xr.arcore:arcore-testing](https://developer.android.com/jetpack/androidx/releases/xr-arcore) [View Source](https://cs.android.com/search?q=file:androidx/xr/arcore/testing/TestAugmentedObject.kt+class:androidx.xr.arcore.testing.TestAugmentedObject) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

*** ** * ** ***


```
class TestAugmentedObject : TestTrackable
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.xr.arcore.testing.TestTrackable](https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestTrackable) ||
|   | ↳ | [androidx.xr.arcore.testing.TestAugmentedObject](https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject) |

*** ** * ** ***

A representation of a real-world object of an `https://developer.android.com/reference/kotlin/androidx/xr/runtime/AugmentedObjectCategory` in the test environment.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject#TestAugmentedObject(androidx.xr.runtime.AugmentedObjectCategory)(category: https://developer.android.com/reference/kotlin/androidx/xr/runtime/AugmentedObjectCategory)` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/AugmentedObjectCategory` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject#category()` the `https://developer.android.com/reference/kotlin/androidx/xr/runtime/AugmentedObjectCategory` that describes the object |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject#centerPose()` `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Pose` at the center of the augmented object |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/FloatSize3d` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject#extents()` the `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/FloatSize3d` extents used to determine the size of the object |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/TestAugmentedObject#isVisible()` indicates whether the trackable object is currently in view of the runtime |

## Public constructors

### TestAugmentedObject

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
TestAugmentedObject(category: AugmentedObjectCategory)
```

## Public properties

### category

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var category: AugmentedObjectCategory
```

the `https://developer.android.com/reference/kotlin/androidx/xr/runtime/AugmentedObjectCategory` that describes the object

### centerPose

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var centerPose: Pose
```

`https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Pose` at the center of the augmented object

### extents

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var extents: FloatSize3d
```

the `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/FloatSize3d` extents used to determine the size of the object

### isVisible

```
open var isVisible: Boolean
```

indicates whether the trackable object is currently in view of the runtime