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

    Interface UIElementHandle

    An element added to the scene by its create function.

    interface UIElementHandle {
        el: Element;
        destroy(): void;
        refreshTheme(): void;
    }
    Index
    el: Element

    The element's entity, in the scene.

    • Take the element out of the scene and release what it built.

      Returns void

    • Rebuild the element against the theme in effect now. The elements read their colours once, when built, so call this after swapping stylesheets, once the new one has loaded. Keeps the element's current options, those changed with setAttribute included; what it shows (an open menu, say) starts over. Does nothing after destroy.

      Returns void