Photo Sphere Viewer
    Preparing search index...

    Class StereoPlugin

    Adds stereo view on mobile devices

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    viewer: Viewer
    id: "stereo" = 'stereo'

    Unique identifier of the plugin

    VERSION: string = PKG_VERSION

    Expected version of the core DO NOT USE on custom plugins

    Methods

    • Type Parameters

      • T extends "stereo-updated"

        the name of event

      • E extends StereoUpdatedEvent & { type: T }

        the class of the event

      Parameters

      • type: "stereo-updated"
      • callback: EventListenerObject | ((e: E) => void)
      • Optionaloptions: boolean | EventListenerOptions

      Returns void

    • Enables the stereo view

      • enables wake lock
      • enables full screen
      • starts gyroscope controle
      • hides markers, navbar and panel
      • instanciate the stereo effect

      Returns Promise<void>