AutorotatePluginConfig: {
    autorotatePitch?: number | string;
    autorotateSpeed?: string | number;
    autorotateZoomLvl?: number;
    autostartDelay?: number;
    autostartOnIdle?: boolean;
    keypoints?: AutorotateKeypoint[];
    startFromClosest?: boolean;
}

Type declaration

  • Optional autorotatePitch?: number | string

    Vertical angle at which the automatic rotation is performed.

    Default

    viewer defaultPitch

  • Optional autorotateSpeed?: string | number

    Speed of the automatic rotation. Can be a negative value to reverse the rotation.

    Default

    '2rpm'
    
  • Optional autorotateZoomLvl?: number

    Zoom level at which the automatic rotation is performed.

    Default

    current zoom level
    
  • Optional autostartDelay?: number

    Delay after which the automatic rotation will begin, in milliseconds

    Default

    2000
    
  • Optional autostartOnIdle?: boolean

    Restarts the automatic rotation if the user is idle for autostartDelay.

    Default

    true
    
  • Optional keypoints?: AutorotateKeypoint[]

    List of positions to visit

  • Optional startFromClosest?: boolean

    Start from the closest keypoint instead of the first keypoint

    Default

    true
    

Generated using TypeDoc