XRVisibilityMaskChangeEvent: vertices property
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The read-only vertices property of the XRVisibilityMaskChangeEvent interface is an array of coordinates representing the vertices required to draw the entire scene displayed in the XRView. If this array is empty, the whole region of the XRView will be drawn.
The indices array specifies the indices of the vertices array that should be drawn to display the currently visible part of the scene displayed in the XRView.
Value
A Float32Array.
Examples
See the main XRVisibilityMaskChangeEvent page for an example.
Specifications
| Specification |
|---|
| WebXR Device API> # dom-xrvisibilitymaskchangeevent-vertices> |