Revision control

Copy as Markdown

/*
XRViewport represents the dimensions in pixels of an XRView.
*/
export default class XRViewport {
constructor(x, y, width, height){
this._x = x
this._y = y
this._width = width
this._height = height
}
get x(){ return this._x }
set x(value) { this._x = value }
get y(){ return this._y }
set y(value) { this._y = value }
get width(){ return this._width }
set width(value) { this._width = value }
get height(){ return this._height }
set height(value) { this._height = value }
}