mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	 81064cc239
			
		
	
	
		81064cc239
		
			
		
	
	
	
	
		
			
			We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8" ?>
 | |
| <class name="VideoStream" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
 | |
| 	<brief_description>
 | |
| 		Base resource for video streams.
 | |
| 	</brief_description>
 | |
| 	<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].
 | |
| 	</description>
 | |
| 	<tutorials>
 | |
| 	</tutorials>
 | |
| 	<methods>
 | |
| 		<method name="_instantiate_playback" qualifiers="virtual">
 | |
| 			<return type="VideoStreamPlayback" />
 | |
| 			<description>
 | |
| 				Called when the video starts playing, to initialize and return a subclass of [VideoStreamPlayback].
 | |
| 			</description>
 | |
| 		</method>
 | |
| 	</methods>
 | |
| 	<members>
 | |
| 		<member name="file" type="String" setter="set_file" getter="get_file" default="""">
 | |
| 			The video file path or URI that this [VideoStream] resource handles.
 | |
| 			For [VideoStreamTheora], this filename should be an Ogg Theora video file with the [code].ogv[/code] extension.
 | |
| 		</member>
 | |
| 	</members>
 | |
| </class>
 |