bindInput method

void bindInput(
  1. VrInputArbiter? arbiter
)

Shares arbitration and pointer state with the host; does not own it.

Implementation

void bindInput(VrInputArbiter? arbiter) {
  if (identical(arbiter, _inputArbiter)) return;
  _inputArbiter?.removeListener(_onInput);
  _inputArbiter = arbiter;
  spatialInput.reset();
  arbiter?.addListener(_onInput);
}