UAndroidXRSpatialPlaneTrackingSubsystem

#include <AndroidXRSpatialPlaneTrackingSubsystem.h>

The plane tracking subsystem.

Summary

Inheritance

Inherits from: UAndroidXRSpatialEntitiesSubsystem

Public attributes

OnSpatialPlaneAdded {}
FSpatialPlaneChangedDelegate
The callback for when a spatial plane is added.
OnSpatialPlaneRemoved {}
FSpatialPlaneChangedDelegate
The callback for when a spatial plane is removed.

Public functions

GetTrackedPlanes(TArray< UAndroidXRSpatialPlaneEntity * > & TrackedPlanes, bool bShouldUpdate)
void
Get the planes being currently tracked.

Protected functions

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

Public attributes

OnSpatialPlaneAdded

FSpatialPlaneChangedDelegate OnSpatialPlaneAdded {}

The callback for when a spatial plane is added.

OnSpatialPlaneRemoved

FSpatialPlaneChangedDelegate OnSpatialPlaneRemoved {}

The callback for when a spatial plane is removed.

Public functions

GetTrackedPlanes

void GetTrackedPlanes(
  TArray< UAndroidXRSpatialPlaneEntity * > & TrackedPlanes,
  bool bShouldUpdate
)

Get the planes being currently tracked.

Details
Parameters
The
tracked planes
Whether
to force an update before updating the tracked planes array

Protected functions

BindEntityEvents

virtual void BindEntityEvents() override

GetCapabilityModule

virtual FAndroidXRSpatialCapabilityModule * GetCapabilityModule() override

GetRequiredPermissions

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

UnbindEntityEvents

virtual void UnbindEntityEvents() override