summaryrefslogtreecommitdiff
path: root/modules/gdnative/doc_classes/VideoStreamGDNative.xml
blob: 2b27556fab0511358363a590c44ae52b217e6a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VideoStreamGDNative" inherits="VideoStream" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
	<brief_description>
		[VideoStream] resource for for video formats implemented via GDNative.
	</brief_description>
	<description>
		[VideoStream] resource for for video formats implemented via GDNative.
		It can be used via [url=https://github.com/KidRigger/godot-videodecoder]godot-videodecoder[/url] which uses the [url=https://ffmpeg.org]FFmpeg[/url] library.
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="get_file">
			<return type="String" />
			<description>
				Returns the video file handled by this [VideoStreamGDNative].
			</description>
		</method>
		<method name="set_file">
			<return type="void" />
			<argument index="0" name="file" type="String" />
			<description>
				Sets the video file that this [VideoStreamGDNative] resource handles. The supported extensions depend on the GDNative plugins used to expose video formats.
			</description>
		</method>
	</methods>
</class>