Remove a listener for when an XR session starts
The function to remove from the listeners
const myFunction = (evt) => { console.log("XR session started", evt);};onXRSessionStart(myFunction);offXRSessionStart(myFunction); Copy
const myFunction = (evt) => { console.log("XR session started", evt);};onXRSessionStart(myFunction);offXRSessionStart(myFunction);
Generated using TypeDoc
Remove a listener for when an XR session starts