Add a listener for when an XR session starts This event is triggered when the XR session is started, either by the user or by the application before all other XR start events
The function to call when the XR session starts
onXRSessionStart((evt) => { console.log("XR session started", evt);}); Copy
onXRSessionStart((evt) => { console.log("XR session started", evt);});
Add a listener for when an XR session starts This event is triggered when the XR session is started, either by the user or by the application before all other XR start events