Interface XRView

    Describes a single view into an XR scene for a given frame.

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

    interface XRView {
        eye: XREye;
        projectionMatrix: Float32Array;
        recommendedViewportScale?: number;
        transform: XRRigidTransform;
        requestViewportScale(scale: number): void;
    }

    Properties

    eye: XREye
    projectionMatrix: Float32Array
    recommendedViewportScale?: number
    transform: XRRigidTransform

    Methods

    • Parameters

      • scale: number

      Returns void