VideoStream

Inherits: Resource < RefCounted < Object

Inherited By: VideoStreamTheora

Base resource for video streams.

Description

Base resource type for all video streams. Classes that derive from VideoStream can all be used as resource types to play back videos in VideoStreamPlayer.

Tutorials

Properties

String

file

“”

Methods

VideoStreamPlayback

_instantiate_playback ( ) virtual


Property Descriptions

String file = ""

The video file path or URI that this VideoStream resource handles.

For VideoStreamTheora, this filename should be an Ogg Theora video file with the .ogv extension.


Method Descriptions

VideoStreamPlayback _instantiate_playback ( ) virtual

Called when the video starts playing, to initialize and return a subclass of VideoStreamPlayback.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.