Add a listener for when an XR session ends This event is triggered when the XR session is ended, either by the user or by the application before all other XR end events
The function to call when the XR session ends
onXRSessionEnd((evt) => { console.log("XR session ended", evt);}); Copy
onXRSessionEnd((evt) => { console.log("XR session ended", evt);});
Generated using TypeDoc
Add a listener for when an XR session ends This event is triggered when the XR session is ended, either by the user or by the application before all other XR end events