2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-05-12 16:10:34 +08:00
|
|
|
<class name="StreamTexture2D" inherits="Texture2D" version="4.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2019-06-22 07:04:47 +08:00
|
|
|
A [code].stex[/code] texture.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-22 07:04:47 +08:00
|
|
|
A texture that is loaded from a [code].stex[/code] file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2019-06-27 22:10:09 +08:00
|
|
|
<method name="load">
|
|
|
|
<return type="int" enum="Error">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="path" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
2020-03-04 02:21:21 +08:00
|
|
|
Loads the texture from the given path.
|
2019-06-27 22:10:09 +08:00
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-13 04:42:36 +08:00
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="load_path" type="String" setter="load" getter="get_load_path" default="""">
|
2019-06-22 07:04:47 +08:00
|
|
|
The StreamTexture's file path to a [code].stex[/code] file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|