virtualx-engine/modules/theora/doc_classes/VideoStreamTheora.xml

33 lines
1.3 KiB
XML
Raw Normal View History

2017-11-15 20:35:18 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 02:03:48 +01:00
<class name="VideoStreamTheora" inherits="VideoStream" version="4.0">
2017-11-15 20:35:18 +01:00
<brief_description>
[VideoStream] resource for Ogg Theora videos.
2017-11-15 20:35:18 +01:00
</brief_description>
<description>
[VideoStream] resource handling the [url=https://www.theora.org/]Ogg Theora[/url] video format with [code].ogv[/code] extension. The Theora codec is less efficient than [VideoStreamWebm]'s VP8 and VP9, but it requires less CPU resources to decode. The Theora codec is decoded on the CPU.
[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>
<method name="get_file">
<return type="String">
</return>
<description>
Returns the Ogg Theora video file handled by this [VideoStreamTheora].
</description>
</method>
<method name="set_file">
<return type="void">
</return>
<argument index="0" name="file" type="String">
</argument>
<description>
Sets the Ogg Theora video file that this [VideoStreamTheora] resource handles. The [code]file[/code] name should have the [code].ogv[/code] extension.
</description>
</method>
2017-11-15 20:35:18 +01:00
</methods>
<constants>
</constants>
</class>