Contains logic and data for the AR scene.

Methods

  • Generates a QR code string that can be displayed to the user.

    Returns string

    A base64 string that contains the png image of the generated QR code.

  • Opens the Atlatl AR landing page with the converted product urls in a new browser tab. NOTE: Must be called as a result of a user interaction event (such as a button click).

    Returns void

  • Creates an AR scene.

    Parameters

    • visual: Visual

      The instance of Visual to represent in the scene.

    • Optional options: ARCreateOptions

      The optional ARCreateOptions to use when creating the ARScene.

    Returns Promise<ARScene>

    A Promise containing the created scene.

Generated using TypeDoc