Stay organized with collections
Save and categorize content based on your preferences.
ARShareableAnchor
Represents a shareable anchor tracked by an XR device.
Generated by the ARShareableAnchorManager when an XR device creates or loads a shareable anchor in the environment.
Summary
Inheritance
Inherits from:
ARTrackable< XRShareableAnchor, ARShareableAnchor >
Public attributes
|
geospatialPose => _geospatialPose
|
Gets the geospatial pose where this anchor is placed.
|
host =>
_isGeospatialAnchor ? XRShareableAnchorHosts.Geospatial : sessionRelativeData.host
|
Gets the host of this shareable anchor.
|
shareableId => sessionRelativeData.shareableId
|
SerializableGuid
Gets the shareable ID to retrieve the anchor from other clients.
|
surfaceType => _surfaceType
|
Gets the surface type of a geospatial anchor.
|
Public attributes
geospatialPose
XRGeospatialPose geospatialPose => _geospatialPose
Gets the geospatial pose where this anchor is placed.
Combined with surfaceType to retrieve the same geospatial anchor from other clients.
host
XRShareableAnchorHosts host =>
_isGeospatialAnchor ? XRShareableAnchorHosts.Geospatial : sessionRelativeData.host
Gets the host of this shareable anchor.
shareableId
SerializableGuid shareableId => sessionRelativeData.shareableId
Gets the shareable ID to retrieve the anchor from other clients.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-10-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-28 UTC."],[],[]]