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

    Interface CompassConfig

    The compass's options.

    interface CompassConfig {
        xr?: BitmovinWebXR | null;
        markArc?: boolean;
        wedgeDeg?: number;
        size?: number;
    }
    Index
    xr?: BitmovinWebXR | null

    The integration, for where the video's front is and how wide its arc. Read every frame, so a setProjection is picked up without telling the compass. Without it, the front is straight ahead.

    markArc?: boolean

    Mark the arc a projection narrower than 360° covers: that part of the ring at full strength, the rest dimmed, with a wash over the covered sector. Defaults to true.

    wedgeDeg?: number

    Hold the wedge at this angle, in degrees, instead of the camera's horizontal field of view, so it looks the same whatever the window's shape. Kept within 1–359°. Anything but a positive number is reported and ignored. Defaults to following the field of view.

    size?: number

    The dial's size inline, in CSS pixels. The ring is 3/4 of it across. At any size the dial keeps the same gap to the top and right edges of the view. Anything but a positive finite number is reported and ignored. Defaults to 58.