Inherits: VideoStream < Resource < Reference < Object

VideoStream recurso para videos de WebM.


VideoStream resource handling the WebM video format with .webm extension. Both the VP8 and VP9 codecs are supported. The VP8 and VP9 codecs are more efficient than VideoStreamTheora, but they require more CPU resources to decode (especially VP9). Both the VP8 and VP9 codecs are decoded on the CPU.

Note: Alpha channel (also known as transparency) is not supported. The video will always appear to have a black background, even if it originally contains an alpha channel.

Note: There are known bugs and performance issues with WebM video playback in Godot. If you run into problems, try using the Ogg Theora format instead: VideoStreamTheora



get_file ( )


set_file ( String file )

Descripciones de Métodos

Devuelve el archivo de vídeo WebM manejado por este VideoStreamWebm.

  • void set_file ( String file )

Establece el archivo de vídeo WebM que maneja este recurso VideoStreamWebm. El nombre del file debe tener la extensión .webm.