UAndroidXRAnchorPersistenceBlueprintFunctionLibrary

#include <AndroidXRAnchorPersistenceBlueprintFunctionLibrary.h>

Summary

Inheritance

Inherits from: UBlueprintFunctionLibrary

Public static functions

CreateAnchorPersistence(FAndroidXRAnchorPersistence & AnchorPersistence)
bool
Creates an anchor persistence.
DestroyAnchorPersistence(FAndroidXRAnchorPersistence & AnchorPersistence)
bool
Destroys an anchor persistence.
EnumeratePersistedAnchors(const FAndroidXRAnchorPersistence & AnchorPersistence, TArray< FGuid > & PersistedAnchors)
bool
Enumerates the persisted anchors associated with an anchor persistence.
EnumerateSupportedPersistenceAnchorTypes(TArray< EAndroidXRTrackableType > & SupportedTypes)
bool
Enumerates the types of trackables which support persistent anchors.
GetAnchorPersistState(const FAndroidXRAnchorPersistence & AnchorPersistence, const FGuid & PersistedID, EAndroidXRAnchorPersistState & PersistState)
bool
Gets the persist state of an anchor.
GetAnchorPersistenceSupported()
bool
Determines whether or not anchor persistence is supported.
IsValidAnchorPersistence(const FAndroidXRAnchorPersistence & AnchorPersistence)
bool
Determines whether or not an FAndroidXRAnchorPersistence is valid.

Public static functions

CreateAnchorPersistence

bool CreateAnchorPersistence(
  FAndroidXRAnchorPersistence & AnchorPersistence
)

Creates an anchor persistence.

Details
Parameters
AnchorPersistence
The anchor persistence that was created.
Returns
True if the underlying API call was successful.

DestroyAnchorPersistence

bool DestroyAnchorPersistence(
  FAndroidXRAnchorPersistence & AnchorPersistence
)

Destroys an anchor persistence.

Details
Parameters
AnchorPersistence
The anchor persistence to be destroyed.
Returns
True if the underlying API call was successful.

EnumeratePersistedAnchors

bool EnumeratePersistedAnchors(
  const FAndroidXRAnchorPersistence & AnchorPersistence,
  TArray< FGuid > & PersistedAnchors
)

Enumerates the persisted anchors associated with an anchor persistence.

Details
Parameters
AnchorPersistence
The anchor persistence to be queried.
PersistedAnchors
The persisted anchors associated with the provided anchor persistence.
Returns
True if the underlying API call was successful.

EnumerateSupportedPersistenceAnchorTypes

bool EnumerateSupportedPersistenceAnchorTypes(
  TArray< EAndroidXRTrackableType > & SupportedTypes
)

Enumerates the types of trackables which support persistent anchors.

Details
Parameters
SupportedTypes
The trackable types which support persistent anchors.
Returns
True if the underlying API call was successful.

GetAnchorPersistState

bool GetAnchorPersistState(
  const FAndroidXRAnchorPersistence & AnchorPersistence,
  const FGuid & PersistedID,
  EAndroidXRAnchorPersistState & PersistState
)

Gets the persist state of an anchor.

Details
Parameters
AnchorPersistence
The anchor persistence with which the anchor is associated.
PersistedID
The persisted ID of the anchor.
PersistState
The persist state of the anchor.
Returns
True if the underlying API call was successful.

GetAnchorPersistenceSupported

bool GetAnchorPersistenceSupported()

Determines whether or not anchor persistence is supported.

Details
Returns
True if anchor persistence is supported.

IsValidAnchorPersistence

bool IsValidAnchorPersistence(
  const FAndroidXRAnchorPersistence & AnchorPersistence
)

Determines whether or not an FAndroidXRAnchorPersistence is valid.

Details
Parameters
AnchorPersistence
AnchorPersistence to be verified.
Returns
True if the anchor persistence is valid.