# UAndroidXRSpatialPlanesNotifierComponent

`#include <AndroidXRSpatialPlanesNotifierComponent.h>`

The plane tracking component that keeps track of spatial planes tracked by the runtime.

<br />

## Summary

### Inheritance

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

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#onplaneadded {}` | `FSpatialPlaneChangedDelegate` The callback for when a spatial plane is added. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#onplaneremoved {}` | `FSpatialPlaneChangedDelegate` The callback for when a spatial plane is removed. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#trackedplanes {}` | `TSet< https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlaneEntity#class_u_android_x_r_spatial_plane_entity * >` The planes being currently tracked. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#beginplay() override` | `void` |

| ### Protected functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#bindtotrackingevents() override` | `virtual void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialPlanesNotifierComponent#getcapabilitysubsystem() override` | `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/UAndroidXRSpatialPlanesNotifierComponent#unbindfromtrackingevents() override` | `virtual void` |

## Public attributes

### OnPlaneAdded

```
FSpatialPlaneChangedDelegate OnPlaneAdded {}
```
The callback for when a spatial plane is added.

### OnPlaneRemoved

```
FSpatialPlaneChangedDelegate OnPlaneRemoved {}
```
The callback for when a spatial plane is removed.

### TrackedPlanes

```
TSet< UAndroidXRSpatialPlaneEntity * > TrackedPlanes {}
```
The planes being currently tracked.

## Public functions

### BeginPlay

```
void BeginPlay() override
```

## Protected functions

### BindToTrackingEvents

```
virtual void BindToTrackingEvents() override
```

### GetCapabilitySubsystem

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

### UnbindFromTrackingEvents

```
virtual void UnbindFromTrackingEvents() override
```