Table of Contents

Method EraseSpatialAnchor

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

EraseSpatialAnchor(ulong, YVRSpatialAnchorStorageLocation, Action<YVRSpatialAnchorResult, bool>)

Erases a spatial anchor from the specified storage location.

public void EraseSpatialAnchor(ulong anchorHandle, YVRSpatialAnchorStorageLocation location, Action<YVRSpatialAnchorResult, bool> callback)

Parameters

anchorHandle ulong

The handle of the spatial anchor to be erased

location YVRSpatialAnchorStorageLocation

The storage location from which the spatial anchor should be erased

callback Action<YVRSpatialAnchorResult, bool>

Callback for handling the result of the spatial anchor erasure process