UAndroidXRSpatialDepthRaycastSubsystem

#include <AndroidXRSpatialDepthRaycastSubsystem.h>

Summary

Inheritance

Inherits from: UAndroidXRSpatialEntitiesSubsystem

Public functions

CanPerformDepthRaycast() const
bool
Checks if the depth raycast can be performed (if a previous depth raycast request is being processed, this will return false)
DepthRaycastAsync(const FSpatialRaycastConfig & RaycastConfig, TDelegate< void(const FSpatialRaycastHitInfo &)> DepthRaycastCompletedCallback, TDelegate< void()> OnFailedCallback)
bool
Perform a depth raycast asynchronously.
IsDepthRaycastSupported() const
bool
Checks for depth raycast support.

Protected functions

GetCapabilityModule() override
GetRequiredPermissions(TArray< FString > & Permissions) override
virtual void

Public functions

CanPerformDepthRaycast

bool CanPerformDepthRaycast() const 

Checks if the depth raycast can be performed (if a previous depth raycast request is being processed, this will return false)

Details
Returns
Returns true if the runtime can perform a depth raycast

DepthRaycastAsync

bool DepthRaycastAsync(
  const FSpatialRaycastConfig & RaycastConfig,
  TDelegate< void(const FSpatialRaycastHitInfo &)> DepthRaycastCompletedCallback,
  TDelegate< void()> OnFailedCallback
)

Perform a depth raycast asynchronously.

Details
Parameters
The
raycast config to perform depth raycast with
The
callback to execute when the operation finishes
The
callback for when the operation fails
Returns
True if the underlying API call was successful

IsDepthRaycastSupported

bool IsDepthRaycastSupported() const 

Checks for depth raycast support.

Details
Returns
Returns true if the runtime supports depth raycast

Protected functions

GetCapabilityModule

virtual FAndroidXRSpatialCapabilityModule * GetCapabilityModule() override

GetRequiredPermissions

virtual void GetRequiredPermissions(
  TArray< FString > & Permissions
) override