XRViewport

Overview

The WebXR Device API's XRViewport interface provides properties used to describe the size and position of the current viewport within the XRWebGLLayer being used to render the 3D scene.

Location

Properties


height

 

property height: Int32 read;

 

Int32 height { get; }

 

var height: Int32 { get{} }

 

Int32 height { __get; }

 

ReadOnly Property height() As Int32

width

 

property width: Int32 read;

 

Int32 width { get; }

 

var width: Int32 { get{} }

 

Int32 width { __get; }

 

ReadOnly Property width() As Int32

x

 

property x: Double read;

 

Double x { get; }

 

var x: Double { get{} }

 

Double x { __get; }

 

ReadOnly Property x() As Double

y

 

property y: Double read;

 

Double y { get; }

 

var y: Double { get{} }

 

Double y { __get; }

 

ReadOnly Property y() As Double