AnchorPersistenceMode


class AnchorPersistenceMode


Feature that allows anchors to be persisted through sessions.

Summary

Public companion properties

AnchorPersistenceMode

Anchors cannot be persisted.

AnchorPersistenceMode

Anchors may be persisted and will be saved in the application's local storage.

Public functions

open String

Returns a string representation of AnchorPersistenceMode for debugging.

Public properties

Int

Public companion properties

DISABLED

val DISABLEDAnchorPersistenceMode

Anchors cannot be persisted.

LOCAL

val LOCALAnchorPersistenceMode

Anchors may be persisted and will be saved in the application's local storage.

Supported runtimes:

  • OpenXR

Required permissions: None

Public functions

toString

open fun toString(): String

Returns a string representation of AnchorPersistenceMode for debugging.

Note: Not intended for production use.

Public properties

mode

Added in 1.0.0-beta02
val modeInt