@bitmovin/player-integration-webxr - v1.2.0
    Preparing search index...

    Function registerCompass

    • Register the compass component. Put it on any entity, once per scene:

      el.setAttribute(COMPASS_COMPONENT, { xr });

      Its colours are read from the page's theme when it is built; re-add it to pick up a new one.

      Returns void