Photo Sphere Viewer
    Preparing search index...

    Type Alias GyroscopePluginConfig

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

    Properties

    absolutePosition?: boolean

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

    false
    
    moveMode?: "smooth" | "fast"

    how the gyroscope data is used to rotate the panorama

    'smooth'
    
    roll?: boolean

    applies camera roll (rotation on Z axis)

    true
    
    touchmove?: boolean

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

    true