useXRControllerState
Caution
Deprecated: use useXRInputSourceState("controller", "left") instead
Call Signature
useXRControllerState(
handedness):undefined|XRControllerState
Hook for getting the XRControllerState
Parameters handednessXRHandedness
the handedness that the XRControllerState should have
Returnsundefined | XRControllerState
Call Signature
useXRControllerState():
XRControllerState
Hook for getting the XRControllerState
ReturnsXRControllerState