# UAndroidXRSpatialDepthRaycastAsyncAction

`#include <AndroidXRSpatialDepthRaycastSubsystem.h>`

The asynchronous operation for depth raycast.

<br />

## Summary

### Inheritance

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

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialDepthRaycastAsyncAction#ondepthraycastcompleted` | `FOnDepthRaycastCompleted` The callback for when depth raycast is completed. |

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

| ### Public static functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialDepthRaycastAsyncAction#spatialdepthraycastasync(const https://developer.android.com/develop/xr/unreal/reference/struct/FSpatialRaycastConfig#struct_f_spatial_raycast_config & InRaycastConfig)` | `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialDepthRaycastAsyncAction#class_u_android_x_r_spatial_depth_raycast_async_action *` Performs a depth raycast asynchronously. |

## Public attributes

### OnDepthRaycastCompleted

```
FOnDepthRaycastCompleted OnDepthRaycastCompleted
```
The callback for when depth raycast is completed.

## Public functions

### Activate

```
void Activate() override
```

## Public static functions

### SpatialDepthRaycastAsync

```
UAndroidXRSpatialDepthRaycastAsyncAction * SpatialDepthRaycastAsync(
  const FSpatialRaycastConfig & InRaycastConfig
)
```
Performs a depth raycast asynchronously.

<br />

Details Parameters `The` raycast config to perform depth raycast with **Returns** Returns the depth raycast async operation node