useXRSessionModeSupported
useXRSessionModeSupported(
mode,onError?):undefined|boolean
Checks whether a specific XRSessionMode is supported or not
Parameters
modeXRSessionMode
The XRSessionMode to check against.
(error) => void
Callback executed when an error occurs.
Returns
undefined | boolean