Interface XRViewport

    Describes a viewport, or rectangular region, of a graphics surface.

    ref: https://immersive-web.github.io/webxr/#xrviewport-interface

    interface XRViewport {
        height: number;
        width: number;
        x: number;
        y: number;
    }

    Properties

    Properties

    height: number
    width: number
    x: number
    y: number