UAndroidXRSpatialMarkerTrackingSubsystem

#include <AndroidXRSpatialMarkerTrackingSubsystem.h>

The marker tracking subsystem.

Summary

Inheritance

Inherits from: UAndroidXRSpatialEntitiesSubsystem

Public attributes

OnSpatialMarkerAdded {}
FOnSpatialMarkerChangedDelegate
The callback for when a marker is added by the runtime.
OnSpatialMarkerRemoved {}
FOnSpatialMarkerChangedDelegate
The callback for when a marker is removed by the runtime.

Public functions

ConfigureMarkerTracking(const FSpatialMarkerTrackingConfig & MarkerTrackingConfig)
void
Configures the marker tracking subsystem.
GetTrackedMarkers(TArray< UAndroidXRSpatialMarkerEntity * > & TrackedMarkers, bool bShouldUpdate)
void
Gets the currently tracked markers.

Protected functions

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

Public attributes

OnSpatialMarkerAdded

FOnSpatialMarkerChangedDelegate OnSpatialMarkerAdded {}

The callback for when a marker is added by the runtime.

OnSpatialMarkerRemoved

FOnSpatialMarkerChangedDelegate OnSpatialMarkerRemoved {}

The callback for when a marker is removed by the runtime.

Public functions

ConfigureMarkerTracking

void ConfigureMarkerTracking(
  const FSpatialMarkerTrackingConfig & MarkerTrackingConfig
)

Configures the marker tracking subsystem.

Details
Parameters
The
marker tracking configuration

GetTrackedMarkers

void GetTrackedMarkers(
  TArray< UAndroidXRSpatialMarkerEntity * > & TrackedMarkers,
  bool bShouldUpdate
)

Gets the currently tracked markers.

Details
Parameters
Array
of tracked markers
Whether
to force an update before populating the tracked markers 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