web api instance property
XRView: index property
Secure contextLimited availability
The index read-only property of the XRView interface indicates the index of the current XRView in the views array.
Value
A number.
Examples
Basic usage
console.log(xrView.index);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.