# UAndroidXRSpatialComponentBase

`#include <AndroidXRSpatialComponentBase.h>`

<br />

## Summary

### Inheritance

Inherits from: `UActorComponent`  
Direct Known Subclasses: [`UAndroidXRSpatialMarkersNotifierComponent`](https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent), [`UAndroidXRSpatialPlanesNotifierComponent`](https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent)

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#uandroidxrspatialcomponentbase()` ||

| ### Protected static attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#binstancecreated {}` | `bool` |

| ### Protected attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#bcanupdate {}` | `bool` |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#beginplay() override` | `void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#endplay(EEndPlayReason::Type EndPlayReason) override` | `void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#isready() const ` | `bool` |

| ### Protected functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#bindtotrackingevents()` | `virtual void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#getcapabilitysubsystem()` | `virtual https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialEntitiesSubsystem#class_u_android_x_r_spatial_entities_subsystem *` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#onstarttracking()` | `virtual void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialComponentBase#unbindfromtrackingevents()` | `virtual void` |

## Protected static attributes

### bInstanceCreated

```
bool bInstanceCreated {}
```

## Protected attributes

### bCanUpdate

```
bool bCanUpdate {}
```

## Public functions

### BeginPlay

```
void BeginPlay() override
```

### EndPlay

```
void EndPlay(
  EEndPlayReason::Type EndPlayReason
) override
```

### IsReady

```
bool IsReady() const 
```

### UAndroidXRSpatialComponentBase

```
 UAndroidXRSpatialComponentBase()
```

## Protected functions

### BindToTrackingEvents

```
virtual void BindToTrackingEvents()
```

### GetCapabilitySubsystem

```
virtual UAndroidXRSpatialEntitiesSubsystem * GetCapabilitySubsystem()
```

### OnStartTracking

```
virtual void OnStartTracking()
```

### UnbindFromTrackingEvents

```
virtual void UnbindFromTrackingEvents()
```