useXR
useXR<
T>(selector,equalityFn?):T
Hook for reading the state from the xr store
Type Parameters
TT = Readonly<object & WithRecord<XRElementImplementation>>
Parameters
selector(s) => T
(a, b) => boolean
Returns
T
useXR<
T>(selector,equalityFn?):T
Hook for reading the state from the xr store
T = Readonly<object & WithRecord<XRElementImplementation>>
(s) => T
(a, b) => boolean
T