• Screenshot rendering for AR

    Parameters

    • args: {
          camera: Camera;
          height: number;
          renderer: WebGLRenderer;
          scene: Scene;
          skipCameraImage?: boolean;
          width: number;
      }

      Set skipCameraImage to render only the 3D layer with a transparent background (used when the camera feed is composited elsewhere, e.g. natively in the Needle Go App Clip)

    Returns HTMLCanvasElement

    The canvas with the screenshot