toggleGyroscope method

void toggleGyroscope()

Implementation

void toggleGyroscope() {
  useGyroscope.toggle();
  if (useGyroscope.value) {
    headTracker.start();
  } else {
    headTracker.stop();
  }
  update([AppPageIdConstants.vr360]);
}