Anchor.TrySetPersistent

bool TrySetPersistent(bool persistent)

This will attempt to make or prevent this Anchor from persisting across app sessions. You may want to check if the system is capable of persisting anchors via Anchors.Capabilities, but it’s possible for this to fail on the OpenXR runtime’s side as well.

   
bool persistent Whether this should or shouldn’t persist across sessions.
RETURNS: bool Success or failure of setting persistence.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!