Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

106
Visualizações
How to share WebXR Anchors over the network?

I'm trying to share anchors from WebXR over the network with other clients. However, they only have one property, anchorSpace, which itself doesn't have any properties:

hitTestResult.createAnchor().then((anchor) => {
  console.log(anchor)
});

The above code produces following output in the console:

XRAnchor {anchorSpace: XRSpace}
  anchorSpace: XRSpace
    [[Prototype]]: XRSpace
  [[Prototype]]: XRAnchor

Stringifying the anchor using JSON.stringify() returns the following:

{}

Is there any way to send anchors (or XRSpaces) from one client to the other? And how can XRAnchor and XRSpace even work if they seemingly don't store any data?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Anchors are currently explicitly not-persistent or sharable. - @AdaRoseCannon (Feb 9, 2022) in https://github.com/immersive-web/anchors/issues/71#issuecomment-1033705978

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda