InputComponent

Native input component.

Provides access to a native input component instance.

Static Members

Properties


Static Members

.TypeName: string



Properties

.handedness: null | ‘left’ | ‘right’

‘left’, ‘right’ or null depending on the inputType.


.inputType: InputType

Input component type

.inputType

Set input component type.

Params: New input component type.


.xrInputSource: null | XRInputSource

WebXR Device API input source associated with this input component, if type ControllerLeft or ControllerRight.