# UAndroidXRSpatialAnchorEntity

`#include <AndroidXRSpatialAnchorEntity.h>`

A tracked Anchor entity.

<br />

## Summary

### Inheritance

Inherits from: [`UAndroidXRSpatialEntity`](https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialEntity)

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialAnchorEntity#anchorid {}` | `FGuid` The Id of the anchor. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialAnchorEntity#anchortransform {}` | `FTransform` The anchor's transform. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialAnchorEntity#persiststate {}` | `https://developer.android.com/develop/xr/unreal/reference/other/AndroidXRSpatialAnchorTypes.h#espatialanchorpersiststate` The persisted state of the anchor entity. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialAnchorEntity#persistedid {}` | `FGuid` If persisted, the persisted anchor Id. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialAnchorEntity#bispersisted {}` | `bool` Whether the anchor is persisted or not. |

## Public attributes

### AnchorId

```
FGuid AnchorId {}
```
The Id of the anchor.

### AnchorTransform

```
FTransform AnchorTransform {}
```
The anchor's transform.

### PersistState

```
ESpatialAnchorPersistState PersistState {}
```
The persisted state of the anchor entity.

### PersistedId

```
FGuid PersistedId {}
```
If persisted, the persisted anchor Id.

### bIsPersisted

```
bool bIsPersisted {}
```
Whether the anchor is persisted or not.