2017-11-15 20:35:18 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 14:18:53 +01:00
<class name= "VideoStreamTheora" inherits= "VideoStream" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2017-11-15 20:35:18 +01:00
<brief_description >
2020-01-26 11:24:14 +01:00
[VideoStream] resource for Ogg Theora videos.
2017-11-15 20:35:18 +01:00
</brief_description>
<description >
2021-10-15 12:05:32 +02:00
[VideoStream] resource handling the [url=https://www.theora.org/]Ogg Theora[/url] video format with [code].ogv[/code] extension. The Theora codec is decoded on the CPU.
2020-09-16 22:41:48 +02:00
[b]Note:[/b] While Ogg Theora videos can also have an [code].ogg[/code] extension, you will have to rename the extension to [code].ogv[/code] to use those videos within Godot.
2017-11-15 20:35:18 +01:00
</description>
<tutorials >
</tutorials>
<methods >
2017-12-07 08:29:38 +01:00
<method name= "get_file" >
2021-07-30 15:28:05 +02:00
<return type= "String" />
2017-12-07 08:29:38 +01:00
<description >
2020-01-26 11:24:14 +01:00
Returns the Ogg Theora video file handled by this [VideoStreamTheora].
2017-12-07 08:29:38 +01:00
</description>
</method>
<method name= "set_file" >
2021-07-30 15:28:05 +02:00
<return type= "void" />
<argument index= "0" name= "file" type= "String" />
2017-12-07 08:29:38 +01:00
<description >
2020-09-16 22:41:48 +02:00
Sets the Ogg Theora video file that this [VideoStreamTheora] resource handles. The [code]file[/code] name should have the [code].ogv[/code] extension.
2017-12-07 08:29:38 +01:00
</description>
</method>
2017-11-15 20:35:18 +01:00
</methods>
</class>