GyroscopePluginConfig: {
    absolutePosition?: boolean;
    moveMode?: "smooth" | "fast";
    roll?: boolean;
    touchmove?: boolean;
}

Type declaration

  • OptionalabsolutePosition?: boolean

    when true the view will ignore the current direction when enabling gyroscope control

    false
    
  • OptionalmoveMode?: "smooth" | "fast"

    how the gyroscope data is used to rotate the panorama

    'smooth'
    
  • Optionalroll?: boolean

    applies camera roll (rotation on Z axis)

    true
    
  • Optionaltouchmove?: boolean

    allows to pan horizontally when the gyroscope is enabled (requires global mousemove=true)

    true