WVR_ClearPersistedSpatialAnchors¶
-
WVR_EXPORT WVR_Result WVR_ClearPersistedSpatialAnchors()
Function is used to clear all persisted anchors.
Developers use this API to clear all persisted anchors on runtime.
- Version
- API Level 14
- Return Value
WVR_Success
: Clear all persisted anchors successfully.others
: WVR_Result mean failure.
How to use¶
Sample function:
#include <wvr/wvr_scene.h>
#include <wvr/wvr_anchor.h>
if (WVR_ClearPersistedSpatialAnchors() == WVR_Success) {
// clear all persisted anchor on runtime successfully
}