Skip to content

VideoTexture

new VideoTexture(video: HTMLVideoElement)

THREE equivalent: THREE.VideoTexture

Texture sourced from an HTMLVideoElement. Auto-updates each frame via the renderer when autoUpdate is true (the default).

Name Type Description
autoUpdate boolean When true, the renderer calls update() automatically each frame. Default true.
Method Description
update(): void Sets needsUpdate = true when the video’s readyState indicates a current frame is available. Called automatically when autoUpdate is true.