Use anchors to share holograms

Note

This article relates to the legacy WinRT native APIs. For new native app projects, we recommend using the OpenXR API.

A shared experience is one where multiple users with their own HoloLens, iOS, or Android device, collectively view and interact with the same hologram. The hologram is positioned at a fixed point in space using spatial anchor sharing.

This article provides brief introductions to Azure Spatial Anchors and local anchors. If you're new to Azure Spatial Anchors, we recommend that you read this detailed overview first.

Azure Spatial Anchors

You can use Azure Spatial Anchors to create durable cloud-backed spatial anchors, which your app can then locate across multiple HoloLens, iOS and Android devices. By sharing a common spatial anchor across multiple devices, each user can see content rendered relative to that anchor in the same physical location. This allows for real-time shared experiences.

You can also use Azure Spatial Anchors for asynchronous hologram persistence across HoloLens, iOS, and Android devices. By sharing a durable cloud spatial anchor, multiple devices can observe the same persisted hologram over time, even if those devices aren't present together at the same time.

To get started building shared experiences in your HoloLens app, try out the 5-minute Azure Spatial Anchors HoloLens quickstart.

Once you're up and running with Azure Spatial Anchors, you can then create and locate anchors on HoloLens. Walkthroughs are available for Android and iOS as well, enabling you to share the same anchors on all devices.

Local anchor transfers

In situations where you can't use Azure Spatial Anchors, local anchor transfers enable one HoloLens device to export an anchor to be imported by a second HoloLens device. This approach provides less robust anchor recall than Azure Spatial Anchors, and iOS and Android devices are not supported by this approach.

See also