Interface XRViewport

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

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

Hierarchy

  • XRViewport

Properties

Properties

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