We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184c006 commit 8ea310fCopy full SHA for 8ea310f
xr/src/main/java/com/example/xr/arcore/Anchors.kt
@@ -32,7 +32,7 @@ import androidx.xr.scenecore.scene
32
fun configureAnchoring(session: Session) {
33
// [START androidxr_arcore_anchoring_configure]
34
val newConfig = session.config.copy(
35
- planeTracking = Config.PlaneTrackingMode.HorizontalAndVertical,
+ anchorPersistence = Config.AnchorPersistenceMode.Enabled,
36
)
37
when (val result = session.configure(newConfig)) {
38
is SessionConfigureConfigurationNotSupported ->
0 commit comments