Andrej Hucko
Andrej Hucko

Reputation: 530

Hololens Spatial understanding: Transferring coordinates from Unity WebGL app to Hololens Mixed Reality app

i created a simple Unity WebGL application were i visualized room model scanned with Microsoft Hololens.

It looks like this: enter image description here

Now i would like to add a landmark (an empty GameObject) to a specific location in the room on my WebGL application, send specific coordinates to my Hololens application and place landmark at the same spot as it was on my WebGL app.

How can i achieve this transformation? Thanks for any help! :)

Upvotes: 3

Views: 172

Answers (1)

Jethro
Jethro

Reputation: 3329

You can use the WorldAnchorTransferBatch to persist/load World Anchors to/from Disk.

I've tested this between hololenses, but if your WebGL app uses UnityEngine.XR then it should work

Upvotes: 1

Related Questions