useSessionModeSupported
Caution
Deprecated: use useXRSessionModeSupported instead
constuseSessionModeSupported: (mode,onError?) =>undefined|boolean=useXRSessionModeSupported
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