For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
(cherry picked from commit 7adf4cc9b5
)
28 lines
859 B
XML
28 lines
859 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="StreamTexture" inherits="Texture" version="3.4">
|
|
<brief_description>
|
|
A [code].stex[/code] texture.
|
|
</brief_description>
|
|
<description>
|
|
A texture that is loaded from a [code].stex[/code] file.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="load">
|
|
<return type="int" enum="Error" />
|
|
<argument index="0" name="path" type="String" />
|
|
<description>
|
|
Loads the texture from the given path.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
|
|
<member name="load_path" type="String" setter="load" getter="get_load_path" default="""">
|
|
The StreamTexture's file path to a [code].stex[/code] file.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|