width property

int get width

The read-only XRViewport property width specifies the width of the viewport, in pixels, onto the drawing surface the 3D scene is to be rendered into. This is defined using this property along with the viewport's XRViewport.height and its origin given by its properties XRViewport.x and XRViewport.y.

Implementation

external int get width;