Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a source of frames from a HTML

see

https://docs.zap.works/universal-ar/javascript/pipelines-and-camera-processing/

Hierarchy

  • HTMLElementSource
    • HTMLElementSource

Index

Constructors

Methods

Constructors

constructor

  • Constructs a new HTMLElementSource.

    Parameters

    • element: HTMLImageElement | HTMLVideoElement

      The HTML source element.

    • Optional pipeline: Pipeline

      The pipeline that this tracker will operate within.

    Returns HTMLElementSource

Methods

destroy

  • destroy(): void
  • Destroys the source.

    Returns void

pause

  • pause(): void
  • Pauses the source.

    Returns void

start

  • start(): void
  • Starts the source sending frames into the pipeline.

    Starting a given source pauses any other sources within the same pipeline.

    Returns void

Legend

  • Constructor
  • Property
  • Method

Generated using TypeDoc