Options for the VideoSource constructor.

interface VideoSourceOptions {
    extent: Extent;
    flipY?: boolean;
    source: string | HTMLVideoElement | VideoTexture;
}

Properties

Properties

extent: Extent

The extent of the image.

flipY?: boolean

Should the texture be flipped vertically ? This parameter only applies if source is a texture.

source: string | HTMLVideoElement | VideoTexture

The source of the image. It can be:

  • a URL to a remote video file,
  • an <video> element,
  • a THREE.js VideoTexture.