2017-11-15 19:35:18 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 13:18:53 +00: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 19:35:18 +00:00
<brief_description >
2020-01-26 10:24:14 +00:00
[VideoStream] resource for Ogg Theora videos.
2017-11-15 19:35:18 +00:00
</brief_description>
<description >
2021-10-15 10:05:32 +00: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 20:41:48 +00: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 19:35:18 +00:00
</description>
<tutorials >
</tutorials>
<methods >
2017-12-07 07:29:38 +00:00
<method name= "get_file" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
2017-12-07 07:29:38 +00:00
<description >
2020-01-26 10:24:14 +00:00
Returns the Ogg Theora video file handled by this [VideoStreamTheora].
2017-12-07 07:29:38 +00:00
</description>
</method>
<method name= "set_file" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2022-08-06 18:11:48 +00:00
<param index= "0" name= "file" type= "String" />
2017-12-07 07:29:38 +00:00
<description >
2020-09-16 20:41:48 +00: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 07:29:38 +00:00
</description>
</method>
2017-11-15 19:35:18 +00:00
</methods>
</class>