# XRUnboundedRefSpaceFeature

This `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#classGoogle_1_1XR_1_1Extensions_1_1XRUnboundedRefSpaceFeature` makes the `UNBOUNDED` reference space available in this app and can be used by setting the `XRInputSubsystem` tracking origin mode.

## Summary

### Inheritance

Inherits from: `OpenXRFeature`, [`Google.XR.Extensions.IXRSpatialSdk`](https://developer.android.com/develop/xr/unity/reference/interface/Google/XR/Extensions/IXRSpatialSdk)

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#extensionstring = "XR_ANDROID_unbounded_reference_space"` | `const string` The OpenXR Extension string. |
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#featureid = "com.google.xr.extensions.unboundedrefspace"` | `const string` The feature ID string. |
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#uiname = "Android XR: Unbounded Reference Space"` | `const string` The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes. |

| ### Public static attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#isextensionenabled => _extensionEnabled` | `bool` Gets if the required OpenXR extension is enabled. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRUnboundedRefSpaceFeature#gettargetversion()` | `https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrspatialsdkversions` Gets the target version of the given feature if applicable. |

## Public attributes

### ExtensionString

```c#
const string ExtensionString = "XR_ANDROID_unbounded_reference_space"
```
The OpenXR Extension string.

Used to check if this extensions is available or enabled.

### FeatureId

```c#
const string FeatureId = "com.google.xr.extensions.unboundedrefspace"
```
The feature ID string.

### UiName

```c#
const string UiName = "Android XR: Unbounded Reference Space"
```
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.

## Public static attributes

### IsExtensionEnabled

```c#
bool IsExtensionEnabled => _extensionEnabled
```
Gets if the required OpenXR extension is enabled.

When OpenXR runtime is waiting, it returns `null`. Otherwise, it indicates whether the `XR_ANDROID_unbounded_reference_space` extension is enabled.

## Public functions

### GetTargetVersion

```c#
XRSpatialSdkVersions GetTargetVersion()
```
Gets the target version of the given feature if applicable.