InputComponent
InputComponent
Native input component
Provides access to a native input component instance
Kind: global class
.inputType ⇒ InputType
Kind: instance property of InputComponent
Returns: InputType - Input component type
.inputType
Set input component type
Kind: instance property of InputComponent
Params: InputType New input component type
.xrInputSource ⇒ XRInputSource
Kind: instance property of InputComponent
Returns: XRInputSource - WebXR Device API input source associated
with this input component, if type ControllerLeft
or ControllerRight.
.handedness ⇒ string
Kind: instance property of InputComponent
Returns: string - ’left’, ‘right’ or null depending on the inputType.